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

Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 26 Jun 1997 00:06:17 +0100 (BST)


> /* 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.