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>
Showing
- include/linux/pid.h 1 addition, 1 deletioninclude/linux/pid.h
- include/linux/pid_namespace.h 6 additions, 0 deletionsinclude/linux/pid_namespace.h
- init/Kconfig 12 additions, 12 deletionsinit/Kconfig
- kernel/Makefile 1 addition, 0 deletionskernel/Makefile
- kernel/pid.c 3 additions, 181 deletionskernel/pid.c
- kernel/pid_namespace.c 197 additions, 0 deletionskernel/pid_namespace.c
kernel/pid_namespace.c
0 → 100644
Please register or sign in to comment