[lkml]   [1999]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 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 /
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:54    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean