--- "Thomas Bushnell, BSG" <[EMAIL PROTECTED]> wrote:
> James Morrison <[EMAIL PROTECTED]> writes:
> 
> > Actually, O_READ, O_WRITE, O_EXEC are the only things that can be
> > turned on.  
> 
> No, O_APPEND, the O_*SYNC flags, and so forth, are all meaningfull.
> 

 Humm, I seem to be missing something.  The flags are passed to the
glibc function __dir_mkfile which makes an RPC dir_mkfile call to
the proper translator.  In the case of lib diskfs/dir-mkfile.c the
flags are untouched until line 70: 

  flags &= (O_READ | O_WRITE | O_EXEC);

Then the flags are passed to diskfs_make_peropen.

  flags &= (O_READ | O_WRITE | O_EXEC);
should removed all options that are turned on but O_READ, O_WRITE,
and O_EXEC right?



=====
James Morrison
   University of Waterloo
   Computer Science - Digital Hardware
   2A co-op
http://hurd.dyndns.org

Anyone refering this as 'Open Source' shall be eaten by a GNU

__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com

_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to