[PATCH 4/6] user namespaces: add user_ns to super block

Eric W. Biederman ebiederm at xmission.com
Fri Aug 1 18:49:34 PDT 2008

"Serge E. Hallyn" <serue at us.ibm.com> writes:

> Ok I wasn't thinking right.  We still can't get to a user_ns from
> an inode *.
> So playing with this a bit tonight, it seems like the best way
> to pass the user_namespace up to the fs is just to define new
> super_operations which handle the conversions.  Something like
> the following.

I'm pretty certain you want to pass in the entire inode instead
of just inode->i_uid.  That would allow you to pass one less argument
and give the filesystems more information to work with.


More information about the Containers mailing list