Re: [RFC] O_NOACC: open without any access

From: Ulrich Drepper
Date: Wed Jun 24 2009 - 13:02:38 EST


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.
There are two new open() flags which have to be implemented: O_EXEC
and O_SEARCH. These might already suffice for what you want.
--
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/