• Eric W. Biederman's avatar
    pidns: Add setns support · 57e8391d
    Eric W. Biederman authored
    - 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>
    57e8391d
namespaces.c 4.15 KB