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

Dieter Nuetzel (nuetzel@kogs.informatik.uni-hamburg.de)
Fri, 27 Jun 1997 12:15:55 +0200


Erik B. Andersen wrote:
>
> >
> > > /* 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.
>
Or just /tmp or something like /tmp/pipes ...

Thanks a lot for your response, regards

-Dieter

---
Dieter Nuetzel
email nuetzel@kogs.informatik.uni-hamburg.de