commit | bcf58e725ddc45d31addbc6627d4f0edccc824c1 | [log] [tgz] |
---|---|---|
author | Eric W. Biederman <ebiederm@xmission.com> | Thu Jul 26 04:02:49 2012 -0700 |
committer | Eric W. Biederman <ebiederm@xmission.com> | Tue Nov 20 04:17:43 2012 -0800 |
tree | e6dff2fbed40f26d8c45f78e23a7476527573bf1 | |
parent | 142e1d1d5f088e7a38659daca6e84a730967774a [diff] |
userns: Make create_new_namespaces take a user_ns parameter 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>