Location: /usr/include/linux/sched.h
Bit | Hex | c++ name | description |
0..7 | 0x000000FF | CSIGNAL | signal mask to be sent at exit |
8 | 0x00000100 | CLONE_VM | share VM(virtual memory) between processes |
9 | 0x00000200 | CLONE_FS | share fs(file system) between processes |
10 | 0x00000400 | CLONE_FILES | share open files between processes |
11 | 0x00000800 | CLONE_SIGHAND | share signal handlers and blocked signals |
13 | 0x00002000 | CLONE_PTRACE | tracing continue on the child too |
14 | 0x00004000 | CLONE_VFORK | parent wants the child to wake it up on mm_release |
15 | 0x00008000 | CLONE_PARENT | same parent as the cloner |
16 | 0x00010000 | CLONE_THREAD | same thread group |
17 | 0x00020000 | CLONE_NEWNS | mount new namespace group |
18 | 0x00040000 | CLONE_SYSVSEM | share system V SEM_UNDO semantics |
19 | 0x00080000 | CLONE_SETTLS | create a new TLS(thread local storage) for the child |
20 | 0x00100000 | CLONE_PARENT_SETTID | set the TID in the parent |
21 | 0x00200000 | CLONE_CHILD_CLEARTID | clear the TID in the child |
22 | 0x00400000 | CLONE_DETACHED | unused, ignored |
23 | 0x00800000 | CLONE_UNTRACED | tracing process can't force CLONE_PTRACE |
24 | 0x01000000 | CLONE_CHILD_SETTID | set the TID(thread identifier) |
25 | 0x02000000 | CLONE_NEWCGROUP | new cgroup namespace |
26 | 0x04000000 | CLONE_NEWUTS | new utsname namespace |
27 | 0x08000000 | CLONE_NEWIPC | new ipc namespace |
28 | 0x10000000 | CLONE_NEWUSER | new user namespace |
29 | 0x20000000 | CLONE_NEWPID | new pid namespace |
30 | 0x40000000 | CLONE_NEWNET | new network namespace |
31 | 0x80000000 | CLONE_IO | clone io context |