Re: 2.1.43 curious pipe-entries in / (root)

Erik B. Andersen (andersee@et.byu.edu)
Thu, 26 Jun 1997 14:58:08 MDT


>
> > /* I hope this does not introduce security problems.
> > * Please check and give me response.
> > */
> >
> > However, the pipes are created with permissions 600 and with the
> > "current->fsuid" and "current->fsgid" ownerships.
>
> In which case we need to ensure sys_open() calls on them return -EINVAL
> as does sys_chown, sys_chmod, sys_fchown and anything else.
>
> > > Also what if / is read only
> >
> > AFAIK, the pipes are inserted directly into the "dcache", so the
> > actual read/write status of the root directory shouldn't make a
> > difference.
>
> Looks like that.
>

Why not stick them in /proc? That is where everything else like
this goes.

-Erik

--
Erik B. Andersen   Web:    http://www.inconnect.com/~andersen/ 
                   email:  andersee@debian.org
--This message was written using 73% post-consumer electrons--