Alexey Dobriyan ed469a63c3 pidns: make create_pid_namespace() accept parent pidns
create_pid_namespace() creates everything, but caller has to assign parent
pidns by hand, which is unnatural.  At the moment of call new ->level has
to be taken from somewhere and parent pidns is already available.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Pavel Emelyanov <xemul@openvz.org>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Acked-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Reviewed-by: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-06-18 13:03:55 -07:00
..
2009-05-20 10:34:32 +02:00
2009-06-16 19:47:48 -07:00
2009-05-15 07:56:24 -05:00
2009-06-18 13:03:54 -07:00
2009-06-16 19:47:48 -07:00
2009-01-14 18:09:02 +01:00
2009-06-18 13:03:55 -07:00
2009-03-30 22:05:16 +10:30
2009-06-16 19:47:48 -07:00
2009-06-18 13:03:54 -07:00
2009-06-15 21:30:23 -07:00
2009-04-14 17:17:16 +02:00