]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-95023: Added os.setns and os.unshare functions (#95046)
authorNoam Cohen <noam@noam.me>
Thu, 20 Oct 2022 09:08:54 +0000 (12:08 +0300)
committerGitHub <noreply@github.com>
Thu, 20 Oct 2022 09:08:54 +0000 (11:08 +0200)
commita371a7e03e43e08cae70235a71904989c0f57a5e
tree40b9d4b13ec579ae370760e2dafd888e32f2b06f
parentc1e02d4e4e09dfc9d57c4d36eca1bbf312d4162d
gh-95023: Added os.setns and os.unshare functions (#95046)

Added os.setns and os.unshare to easily switch between namespaces
on Linux.

Co-authored-by: Christian Heimes <christian@python.org>
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Victor Stinner <vstinner@python.org>
Doc/library/os.rst
Include/internal/pycore_global_strings.h
Include/internal/pycore_runtime_init_generated.h
Lib/test/test_posix.py
Misc/ACKS
Misc/NEWS.d/next/Core and Builtins/2022-07-20-09-04-55.gh-issue-95023.bs-xd7.rst [new file with mode: 0644]
Modules/clinic/posixmodule.c.h
Modules/posixmodule.c
configure
configure.ac
pyconfig.h.in