summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2012-07-26 14:15:35 +0200
committerEric W. Biederman <ebiederm@xmission.com>2012-11-20 13:18:14 +0100
commitb2e0d98705e60e45bbb3c0032c48824ad7ae0704 (patch)
treee187c82e1c3babd34095f2b946614131719bbb03 /block
parentuserns: Implent proc namespace operations (diff)
downloadlinux-b2e0d98705e60e45bbb3c0032c48824ad7ae0704.tar.xz
linux-b2e0d98705e60e45bbb3c0032c48824ad7ae0704.zip
userns: Implement unshare of the user namespace
- Add CLONE_THREAD to the unshare flags if CLONE_NEWUSER is selected As changing user namespaces is only valid if all there is only a single thread. - Restore the code to add CLONE_VM if CLONE_THREAD is selected and the code to addCLONE_SIGHAND if CLONE_VM is selected. Making the constraints in the code clear. Acked-by: Serge Hallyn <serge.hallyn@canonical.com> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions