Skip to content

Implement os.setns, os.unshare to allow changing namespaces in Linux #95023

Description

@noamcohen97

As for now, changing to a different namespace is really messy, one must use ctypes, and call libc functions to do so.
I think implementing setns and unshare functions will make working with namespaces in Python much easier

Activity

  1. added a commit that references this issue on Jul 20, 2022
  2. added a commit that references this issue on Oct 20, 2022
  3. vstinner commented on Oct 20, 2022

    @vstinner
    Member

    Fixed by a371a7e

  4. added a commit that references this issue on Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-featureA feature request or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions