/kernel/linux/linux-5.10/tools/testing/selftests/proc/ |
H A D | setns-sysvipc.c | 17 * Test that setns(CLONE_NEWIPC) points to new /proc/sysvipc content even 53 if (unshare(CLONE_NEWIPC) == -1) { in main() 74 if (unshare(CLONE_NEWIPC) == -1) { in main() 103 if (setns(nsfd, CLONE_NEWIPC) == -1) { in main()
|
/kernel/linux/linux-6.6/tools/testing/selftests/proc/ |
H A D | setns-sysvipc.c | 17 * Test that setns(CLONE_NEWIPC) points to new /proc/sysvipc content even 53 if (unshare(CLONE_NEWIPC) == -1) { in main() 74 if (unshare(CLONE_NEWIPC) == -1) { in main() 103 if (setns(nsfd, CLONE_NEWIPC) == -1) { in main()
|
/kernel/linux/linux-5.10/kernel/ |
H A D | nsproxy.c | 159 if (likely(!(flags & (CLONE_NEWNS | CLONE_NEWUTS | CLONE_NEWIPC | in copy_namespaces() 170 * CLONE_NEWIPC must detach from the undolist: after switching in copy_namespaces() 174 * it along with CLONE_NEWIPC. in copy_namespaces() 176 if ((flags & (CLONE_NEWIPC | CLONE_SYSVSEM)) == in copy_namespaces() 177 (CLONE_NEWIPC | CLONE_SYSVSEM)) in copy_namespaces() 223 if (!(unshare_flags & (CLONE_NEWNS | CLONE_NEWUTS | CLONE_NEWIPC | in unshare_nsproxy_namespaces() 270 if (!flags || (flags & ~(CLONE_NEWNS | CLONE_NEWUTS | CLONE_NEWIPC | in check_setns_flags() 288 if (flags & CLONE_NEWIPC) in check_setns_flags() 446 if (flags & CLONE_NEWIPC) { in validate_nsset() 524 if (flags & CLONE_NEWIPC) in commit_nsset() [all...] |
/kernel/linux/linux-6.6/kernel/ |
H A D | nsproxy.c | 158 if (likely(!(flags & (CLONE_NEWNS | CLONE_NEWUTS | CLONE_NEWIPC | in copy_namespaces() 170 * CLONE_NEWIPC must detach from the undolist: after switching in copy_namespaces() 174 * it along with CLONE_NEWIPC. in copy_namespaces() 176 if ((flags & (CLONE_NEWIPC | CLONE_SYSVSEM)) == in copy_namespaces() 177 (CLONE_NEWIPC | CLONE_SYSVSEM)) in copy_namespaces() 220 if (!(unshare_flags & (CLONE_NEWNS | CLONE_NEWUTS | CLONE_NEWIPC | in unshare_nsproxy_namespaces() 284 if (!flags || (flags & ~(CLONE_NEWNS | CLONE_NEWUTS | CLONE_NEWIPC | in check_setns_flags() 302 if (flags & CLONE_NEWIPC) in check_setns_flags() 460 if (flags & CLONE_NEWIPC) { in validate_nsset() 538 if (flags & CLONE_NEWIPC) in commit_nsset() [all...] |
/kernel/liteos_a/testsuites/unittest/container/smoke/ |
H A D | It_ipc_container_006.cpp | 89 auto pid = clone(childFunc1, stackTop, CLONE_NEWIPC | SIGCHLD, &arg); in childFunc() 100 ret = setns(fd, CLONE_NEWIPC); in childFunc() 173 auto pid = clone(childFunc, stackTop, CLONE_NEWIPC | SIGCHLD, &arg); in ItIpcContainer006()
|
H A D | It_ipc_container_008.cpp | 44 int ret = unshare(CLONE_NEWIPC); in childFunc() 80 auto pid1 = clone(childFunc, stackTop, CLONE_NEWIPC, NULL); in ItIpcContainer008()
|
H A D | It_ipc_container_007.cpp | 76 auto pid1 = clone(childFunc, stackTop, CLONE_NEWIPC, NULL); in ItIpcContainer007() 79 auto pid2 = clone(childFunc, stackTop, CLONE_NEWIPC, NULL); in ItIpcContainer007()
|
H A D | It_ipc_container_002.cpp | 127 childPid = clone(childFunc, stackTop, CLONE_NEWIPC | SIGCHLD, &arg);
in ItIpcContainer002() 137 ret = setns(fd, CLONE_NEWIPC);
in ItIpcContainer002()
|
H A D | It_ipc_container_005.cpp | 46 ret = unshare(CLONE_NEWIPC); in childFunc() 176 auto pid = clone(testChild, stackTop, CLONE_NEWIPC | SIGCHLD, &arg); in ItIpcContainer005()
|
H A D | It_ipc_container_003.cpp | 93 ret = unshare(CLONE_NEWIPC);
in IpcContainerUnshare() 133 pid_t pid = clone(childFunc, stackTop, CLONE_NEWIPC | SIGCHLD, &arg);
in IpcContainerUnshare()
|
/kernel/liteos_a/kernel/extended/container/ |
H A D | los_ipc_container.c | 116 if (!(flags & CLONE_NEWIPC)) { in OsCopyIpcContainer() 136 if (!(flags & CLONE_NEWIPC)) { in OsUnshareIpcContainer() 162 if (flags & CLONE_NEWIPC) { in OsSetNsIpcContainer()
|
/kernel/linux/linux-5.10/ipc/ |
H A D | namespace.c | 82 if (!(flags & CLONE_NEWIPC)) in copy_ipcs() 220 .type = CLONE_NEWIPC,
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
H A D | sched.h | 27 #define CLONE_NEWIPC 0x08000000 macro
|
/kernel/linux/linux-6.6/ipc/ |
H A D | namespace.c | 110 if (!(flags & CLONE_NEWIPC)) in copy_ipcs() 253 .type = CLONE_NEWIPC,
|
/kernel/linux/linux-5.10/tools/include/uapi/linux/ |
H A D | sched.h | 30 #define CLONE_NEWIPC 0x08000000 /* New ipc namespace */ macro
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | sched.h | 30 #define CLONE_NEWIPC 0x08000000 /* New ipc namespace */ macro
|
/kernel/linux/linux-6.6/include/uapi/linux/ |
H A D | sched.h | 30 #define CLONE_NEWIPC 0x08000000 /* New ipc namespace */ macro
|
/kernel/linux/linux-6.6/tools/include/uapi/linux/ |
H A D | sched.h | 30 #define CLONE_NEWIPC 0x08000000 /* New ipc namespace */ macro
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
H A D | sched.h | 42 #define CLONE_NEWIPC 0x08000000 macro
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
H A D | sched.h | 42 #define CLONE_NEWIPC 0x08000000 macro
|
/kernel/linux/linux-5.10/tools/testing/selftests/pidfd/ |
H A D | pidfd_setns_test.c | 45 [PIDFD_NS_IPC] = { "ipc", CLONE_NEWIPC, }, 179 CLONE_NEWCGROUP | CLONE_NEWIPC | in FIXTURE_SETUP() 208 CLONE_NEWCGROUP | CLONE_NEWIPC | in FIXTURE_SETUP()
|
/kernel/linux/linux-6.6/tools/testing/selftests/pidfd/ |
H A D | pidfd_setns_test.c | 45 [PIDFD_NS_IPC] = { "ipc", CLONE_NEWIPC, }, 179 CLONE_NEWCGROUP | CLONE_NEWIPC | in FIXTURE_SETUP() 208 CLONE_NEWCGROUP | CLONE_NEWIPC | in FIXTURE_SETUP()
|
/kernel/linux/linux-5.10/tools/testing/selftests/mount/ |
H A D | unprivileged-remount-test.c | 25 #ifndef CLONE_NEWIPC 26 # define CLONE_NEWIPC 0x08000000 macro
|
/kernel/linux/linux-6.6/tools/testing/selftests/mount/ |
H A D | unprivileged-remount-test.c | 25 #ifndef CLONE_NEWIPC 26 # define CLONE_NEWIPC 0x08000000 macro
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | ipc_namespace.h | 150 if (flags & CLONE_NEWIPC) in copy_ipcs()
|