Skip to content
Commit 57e8391d authored by Eric W. Biederman's avatar Eric W. Biederman
Browse files

pidns: Add setns support



- 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: default avatarEric W. Biederman <ebiederm@xmission.com>
parent 225778d6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment