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)
commitb515498f5bb5f38fc0e390b4ff7d00b6077de127
treeb76dfc56415adee9aec5d8619124059ed3ab02a5
parentfc832ad3645f0507f24d11752544525a50a83c71
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