userns: Make create_new_namespaces take a user_ns parameter
authorEric W. Biederman <ebiederm@xmission.com>
Thu, 26 Jul 2012 11:02:49 +0000 (04:02 -0700)
committerEric W. Biederman <ebiederm@xmission.com>
Tue, 20 Nov 2012 12:17:43 +0000 (04:17 -0800)
Modify create_new_namespaces to explicitly take a user namespace
parameter, instead of implicitly through the task_struct.

This allows an implementation of unshare(CLONE_NEWUSER) where
the new user namespace is not stored onto the current task_struct
until after all of the namespaces are created.

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

No differences found