tech-kern archive

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

Re: O_DIRECTORY



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

I'm not sure what, if any, restrictions there should be on it, which is
one reason I've never actually tried to implement such a thing.

/~\ The ASCII                             Mouse
\ / Ribbon Campaign
 X  Against HTML                mouse%rodents-montreal.org@localhost
/ \ Email!           7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B


Home | Main Index | Thread Index | Old Index