Re: [RFC] O_NOACC: open without any access
From: Miklos Szeredi
Date: Wed Jun 24 2009 - 14:06:29 EST
On Wed, 24 Jun 2009, Ulrich Drepper wrote:
> On Wed, Jun 17, 2009 at 23:55, Miklos Szeredi<miklos@xxxxxxxxxx> wrote:
> > The sole purpose is to help race free "userspace lookup" type
> > operations. ÂSo fstat, fch*, *at work but nothing else. ÂFilesystem's
> > ->open() is not called and f_op is set to NULL.
>
> Before adding something like this, please look at the 2009 POSIX spec.
Is it available online somewhere? If not, could you please post the
relevant parts?
> There are two new open() flags which have to be implemented: O_EXEC
> and O_SEARCH. These might already suffice for what you want.
I suspect they are not quite what we want (both of them requring
MAY_EXEC on file, no?)
Thanks,
Miklos
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/