Messages in this thread | | | Date | Mon, 17 Mar 2008 06:45:37 -0400 | From | Christoph Hellwig <> | Subject | Re: [RFC] correct flags to f_mode conversion in __dentry_open |
| |
On Sat, Mar 15, 2008 at 05:59:52PM -0400, Alan Cox wrote: > > does 11 really mean and should it really always be mapped to (FMODE_READ > > | FMODE_WRITE) or should it continue to get mapped to 'no permission?' > > We've always mapped 3 to "no permission" to read or write. It's a linuxism
I've tripped over this recently aswell. It would for sure be useful to add a sumbolic O_FOO constant for this magic value '3' and document it in the manpage.
| |