pidns: Add setns support
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 8 Mar 2010 02:17:03 +0000 (18:17 -0800)
committerEric W. Biederman <ebiederm@xmission.com>
Mon, 19 Nov 2012 13:59:14 +0000 (05:59 -0800)
- Pid namespaces are designed to be inescapable so verify that the
  passed in pid namespace is a child of the currently active
  pid namespace or the currently active pid namespace itself.

  Allowing the currently active pid namespace is important so
  the effects of an earlier setns can be cancelled.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>

No differences found