[PATCH 9/9] userns: check user namespace for task->file uid equivalence checks

Andrew Morton akpm at linux-foundation.org
Wed Feb 23 21:08:08 PST 2011


On Thu, 24 Feb 2011 03:24:16 +0000 "Serge E. Hallyn" <serge at hallyn.com> wrote:

> Quoting Andrew Morton (akpm at linux-foundation.org):
> > On Thu, 17 Feb 2011 15:04:07 +0000
> > "Serge E. Hallyn" <serge at hallyn.com> wrote:
> > 
> > There's a fairly well adhered to convention that global symbols (and
> > often static symbols) have a prefix which identifies the subsystem to
> > which they belong.  This patchset rather scorns that convention.
> > 
> > Most of these identifiers are pretty obviously from the capability
> > subsystem, but still...
> 
> Would 'inode_owner_or_capable' be better and and make sense?
> 

I suppose so.  We've totally screwed that pooch in the VFS (grep EXPORT
fs/inode.c).  But it's never to late to start.



More information about the Containers mailing list