Messages in this thread | | | Date | Wed, 22 Sep 1999 21:54:11 +0200 | From | Werner Almesberger <> | Subject | Re: Why is chmod(2)? |
| |
Jamie Lokier wrote: > I recommend coding a patch to find out if O_NONE is really as easy as it > seems.
Note that the equivalent of O_NONE has been around on Linux since '92 or so (numeric value 3, I usually call it O_NOACCESS). It is required for things like fdformat and setfdprm. LILO also uses it. So the "main code path" already supports this. Drivers looking at f_mode or f_flags may be a different story, though.
- Werner
-- _________________________________________________________________________ / Werner Almesberger, ICA, EPFL, CH werner.almesberger@ica.epfl.ch / /_IN_R_131__Tel_+41_21_693_6621__Fax_+41_21_693_6610_____________________/
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |