Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment