]> git.baikalelectronics.ru Git - kernel.git/commit
userns: add a user namespace owner of ipc ns
authorSerge E. Hallyn <serge@hallyn.com>
Wed, 23 Mar 2011 23:43:23 +0000 (16:43 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Mar 2011 02:47:07 +0000 (19:47 -0700)
commitd08dbf980b6f7a142fae5a723e06c37b126bb8a5
treeb76dfc56415adee9aec5d8619124059ed3ab02a5
parent6660667bae526843359a680dd9253732c7fceffa
userns: add a user namespace owner of ipc ns

Changelog:
Feb 15: Don't set new ipc->user_ns if we didn't create a new
ipc_ns.
Feb 23: Move extern declaration to ipc_namespace.h, and group
fwd declarations at top.

Signed-off-by: Serge E. Hallyn <serge.hallyn@canonical.com>
Acked-by: "Eric W. Biederman" <ebiederm@xmission.com>
Acked-by: Daniel Lezcano <daniel.lezcano@free.fr>
Acked-by: David Howells <dhowells@redhat.com>
Cc: James Morris <jmorris@namei.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/ipc_namespace.h
ipc/msgutil.c
ipc/namespace.c
kernel/nsproxy.c