Add os.unshare clone flags for Linux, Python 3.12+ (#10757)

This commit is contained in:
Amin Alaee
2023-09-24 17:23:30 +02:00
committed by GitHub
parent 8c4dd38840
commit 0a92429627
3 changed files with 38 additions and 13 deletions

View File

@@ -1,18 +1,5 @@
_?curses.color_pair
_posixsubprocess.fork_exec
(os|posix).CLONE_FILES
(os|posix).CLONE_FS
(os|posix).CLONE_NEWCGROUP
(os|posix).CLONE_NEWIPC
(os|posix).CLONE_NEWNET
(os|posix).CLONE_NEWNS
(os|posix).CLONE_NEWPID
(os|posix).CLONE_NEWUSER
(os|posix).CLONE_NEWUTS
(os|posix).CLONE_SIGHAND
(os|posix).CLONE_SYSVSEM
(os|posix).CLONE_THREAD
(os|posix).CLONE_VM
(os|posix).EFD_CLOEXEC
(os|posix).EFD_NONBLOCK
(os|posix).EFD_SEMAPHORE
@@ -40,3 +27,7 @@ tty.__all__
tty.cfmakecbreak
tty.cfmakeraw
xxlimited.Xxo.x_exports
# Exists on some Linux builds, and is documented,
# but is unavailable in Github Actions on Linux with Python 3.12
(os|posix).CLONE_NEWTIME