From: Eric W. Biederman Date: Thu, 26 Jul 2012 12:15:35 +0000 (-0700) Subject: userns: Implement unshare of the user namespace X-Git-Tag: v3.8-rc1~77^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2e0d98705e60e45bbb3c0032c48824ad7ae0704;p=pandora-kernel.git 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 Signed-off-by: "Eric W. Biederman" --- Reading git-diff-tree failed