aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@aristanetworks.com>2011-08-08 15:31:56 -0500
committerEric W. Biederman <ebiederm@aristanetworks.com>2011-08-09 05:01:09 -0500
commitcd4a779f985405338500cdd830e71d8dde7c6576 (patch)
tree320408f43d618cba78a5df055b311d3f8c2f2e31
parentfd4554e62a8e4ad0c5a163776d4a518f09b51668 (diff)
downloadlinux-namespace-control-devel-master.tar.gz
ns proc: Enable setns for support for the pid namespaceHEADmaster
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
-rw-r--r--kernel/pid_namespace.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/pid_namespace.c b/kernel/pid_namespace.c
index 2e0331ebd6a516..79bf459c9dd6be 100644
--- a/kernel/pid_namespace.c
+++ b/kernel/pid_namespace.c
@@ -246,12 +246,9 @@ static void pidns_put(void *ns)
static int pidns_install(struct nsproxy *nsproxy, void *ns)
{
- return -EINVAL;
-#ifdef notyet
put_pid_ns(nsproxy->pid_ns);
nsproxy->pid_ns = get_pid_ns(ns);
return 0;
-#endif
}
static unsigned int pidns_inum(void *vns)