commit | 33c429405a2c8d9e42afb9fee88a63cfb2de1e98 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sat Nov 01 02:32:53 2014 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Thu Dec 04 14:34:47 2014 -0500 |
tree | d2ffe096cd36852049b844c8befd1ba0ba6cf18c | |
parent | 6344c433a452b1a05d03a61a6a85d89f793bb7b8 [diff] [blame] |
copy address of proc_ns_ops into ns_common Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/kernel/user_namespace.c b/kernel/user_namespace.c index 6bf8177..1491ad0 100644 --- a/kernel/user_namespace.c +++ b/kernel/user_namespace.c
@@ -91,6 +91,7 @@ kmem_cache_free(user_ns_cachep, ns); return ret; } + ns->ns.ops = &userns_operations; atomic_set(&ns->count, 1); /* Leave the new->user_ns reference with the new user namespace. */