pid namespaces: miscellaneous preparations for pid namespaces
authorPavel Emelyanov <xemul@openvz.org>
Fri, 19 Oct 2007 06:40:09 +0000 (23:40 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 19 Oct 2007 18:53:39 +0000 (11:53 -0700)
commitb461cc03828c743aed6b3855b9ab0d39a9d54ec5
treeb39ff42df1564adf800d9c4a01ba78ed14f8f9a2
parent07543f5c75cee744b791cf7716c69571486fe753
pid namespaces: miscellaneous preparations for pid namespaces

* remove pid.h from pid_namespaces.h;
* rework is_(cgroup|global)_init;
* optimize (get|put)_pid_ns for init_pid_ns;
* declare task_child_reaper to return actual reaper.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Sukadev Bhattiprolu <sukadev@us.ibm.com>
Cc: Paul Menage <menage@google.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/pid_namespace.h
include/linux/sched.h
kernel/pid.c