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

From: Daniel Lezcano
Date: Sat Feb 19 2011 - 14:22:58 EST


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@xxxxxxxxxxxxx>
---

Acked-by: Daniel Lezcano <daniel.lezcano@xxxxxxx>
--
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/