namespaces: cleanup the code managed with PID_NS option
authorPavel Emelyanov <xemul@openvz.org>
Fri, 8 Feb 2008 12:18:24 +0000 (04:18 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 8 Feb 2008 17:22:23 +0000 (09:22 -0800)
commit74bd59bb39eb08b4379e2590c5f160748d83f812
tree2e0b8e18b0d51f9972239a0322aca313b325a8fa
parentaee16ce73c71a241190cef3aaa265f6a3ab8e035
namespaces: cleanup the code managed with PID_NS option

Just like with the user namespaces, move the namespace management code into
the separate .c file and mark the (already existing) PID_NS option as "depend
on NAMESPACES"

[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Cc: Cedric Le Goater <clg@fr.ibm.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Herbert Poetzl <herbert@13thfloor.at>
Cc: Kirill Korotaev <dev@sw.ru>
Cc: Sukadev Bhattiprolu <sukadev@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/pid.h
include/linux/pid_namespace.h
init/Kconfig
kernel/Makefile
kernel/pid.c
kernel/pid_namespace.c [new file with mode: 0644]