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.

> So O_CREAT, O_TRUNC are ignorned.  Should libnetfs be
> change to limit the usable flags to O_READ, O_WRITE, and O_EXEC as
> well?  

No.

> In libnetfs flags are directly passed down to make_peropen()
> and then put into po->openstat .  

Which is just what should happen.

> So a change from O_WRONLY and O_WRITE is completly cosmetic.

Right, but it's the right cosmetics.


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

Reply via email to