lkml.org 
[lkml]   [2009]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC] O_NOACC: open without any access
From
Date
On Wed, 24 Jun 2009, Ulrich Drepper wrote:
> On Wed, Jun 17, 2009 at 23:55, Miklos Szeredi<miklos@szeredi.hu> 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2009-06-24 20:09    [W:2.582 / U:0.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site