lkml.org 
[lkml]   [1999]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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 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/

\
 
 \ /
  Last update: 2005-03-22 13:54    [from the cache]
©2003-2011 Jasper Spaans