tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]


On Mon, Sep 13, 2010 at 11:41:30PM -0400, der Mouse wrote:
> > Is there a way to open a directory on which you have neither read nor
> > write access (maybe not even search access) ?
> I've thought for some time there sbould be an O_NOACCESS, to open
> things without any ability to do I/O.  The major use for this I've
> found is opening directories for later feeding to fchdir(), but I
> suspect that if it existed people would find other uses for it.

And I've wished for the opposite, to allow handing file descriptors to
code that will chroot without accidentally giving it a way to fchroot()
back out...


Home | Main Index | Thread Index | Old Index