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

Daniel Lezcano daniel.lezcano at free.fr
Sat Feb 19 11:22:39 PST 2011


On 02/17/2011 04:04 PM, Serge E. Hallyn wrote:
> Cheat for now and say all files belong to init_user_ns.  Next
> step will be to let superblocks belong to a user_ns, and derive
> inode_userns(inode) from inode->i_sb->s_user_ns.  Finally we'll
> introduce more flexible arrangements.
>
> Changelog:
> 	Feb 15: make is_owner_or_cap take const struct inode
>
> Signed-off-by: Serge E. Hallyn<serge.hallyn at canonical.com>
> ---

Acked-by: Daniel Lezcano <daniel.lezcano at free.fr>


More information about the Containers mailing list