dazuko-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Dazuko-devel] Telling O_WRONLY and O_RDWR apart


From: John Ogness
Subject: Re: [Dazuko-devel] Telling O_WRONLY and O_RDWR apart
Date: Wed, 11 May 2005 17:54:37 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913

Sami Tikka wrote:
Hi! I noticed that dazuko 2.0.6 running on Linux 2.6 cannot tell if file
was opened O_WRONLY or O_RDWR, they are both reported as O_WRONLY.

I guess the problem happened because the open flags are not bit masks
like the MAY_* flags passed to inode_permission callback.

The patch below seems to correct open flag reporting.

Thanks! These changes have been checked into CVS.

John Ogness

--
Dazuko Maintainer




reply via email to

[Prev in Thread] Current Thread [Next in Thread]