vfs: Allow chroot if you have CAP_SYS_CHROOT in your user namespace
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 31 Jul 2012 08:14:12 +0000 (01:14 -0700)
committerEric W. Biederman <ebiederm@xmission.com>
Mon, 19 Nov 2012 13:59:17 +0000 (05:59 -0800)
Once you are confined to a user namespace applications can not gain
privilege and escape the user namespace so there is no longer a reason
to restrict chroot.

Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
fs/open.c

diff --cc fs/open.c
Simple merge