userns: add a user namespace owner of ipc ns
authorSerge E. Hallyn <[email protected]>
Wed, 23 Mar 2011 23:43:23 +0000 (16:43 -0700)
committerLinus Torvalds <[email protected]>
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 <[email protected]>
Acked-by: "Eric W. Biederman" <[email protected]>
Acked-by: Daniel Lezcano <[email protected]>
Acked-by: David Howells <[email protected]>
Cc: James Morris <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/ipc_namespace.h
ipc/msgutil.c
ipc/namespace.c
kernel/nsproxy.c