mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-19 00:04:52 +08:00
Document the availability of the os.CLONE_ constants (#12160)
This commit is contained in:
@@ -1141,16 +1141,16 @@ if sys.version_info >= (3, 10) and sys.platform == "linux":
|
||||
if sys.version_info >= (3, 12) and sys.platform == "linux":
|
||||
CLONE_FILES: int
|
||||
CLONE_FS: int
|
||||
CLONE_NEWCGROUP: int
|
||||
CLONE_NEWIPC: int
|
||||
CLONE_NEWNET: int
|
||||
CLONE_NEWCGROUP: int # Linux 4.6+
|
||||
CLONE_NEWIPC: int # Linux 2.6.19+
|
||||
CLONE_NEWNET: int # Linux 2.6.24+
|
||||
CLONE_NEWNS: int
|
||||
CLONE_NEWPID: int
|
||||
CLONE_NEWTIME: int
|
||||
CLONE_NEWUSER: int
|
||||
CLONE_NEWUTS: int
|
||||
CLONE_NEWPID: int # Linux 3.8+
|
||||
CLONE_NEWTIME: int # Linux 5.6+
|
||||
CLONE_NEWUSER: int # Linux 3.8+
|
||||
CLONE_NEWUTS: int # Linux 2.6.19+
|
||||
CLONE_SIGHAND: int
|
||||
CLONE_SYSVSEM: int
|
||||
CLONE_SYSVSEM: int # Linux 2.6.26+
|
||||
CLONE_THREAD: int
|
||||
CLONE_VM: int
|
||||
def unshare(flags: int) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user