Home
last modified time | relevance | path

Searched refs:CLONE_NEWIPC (Results 1 - 25 of 33) sorted by relevance

12

/kernel/linux/linux-5.10/tools/testing/selftests/proc/
H A Dsetns-sysvipc.c17 * 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 Dsetns-sysvipc.c17 * 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 Dnsproxy.c159 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 Dnsproxy.c158 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 DIt_ipc_container_006.cpp89 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 DIt_ipc_container_008.cpp44 int ret = unshare(CLONE_NEWIPC); in childFunc()
80 auto pid1 = clone(childFunc, stackTop, CLONE_NEWIPC, NULL); in ItIpcContainer008()
H A DIt_ipc_container_007.cpp76 auto pid1 = clone(childFunc, stackTop, CLONE_NEWIPC, NULL); in ItIpcContainer007()
79 auto pid2 = clone(childFunc, stackTop, CLONE_NEWIPC, NULL); in ItIpcContainer007()
H A DIt_ipc_container_002.cpp127 childPid = clone(childFunc, stackTop, CLONE_NEWIPC | SIGCHLD, &arg); in ItIpcContainer002()
137 ret = setns(fd, CLONE_NEWIPC); in ItIpcContainer002()
H A DIt_ipc_container_005.cpp46 ret = unshare(CLONE_NEWIPC); in childFunc()
176 auto pid = clone(testChild, stackTop, CLONE_NEWIPC | SIGCHLD, &arg); in ItIpcContainer005()
H A DIt_ipc_container_003.cpp93 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 Dlos_ipc_container.c116 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 Dnamespace.c82 if (!(flags & CLONE_NEWIPC)) in copy_ipcs()
220 .type = CLONE_NEWIPC,
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Dsched.h27 #define CLONE_NEWIPC 0x08000000 macro
/kernel/linux/linux-6.6/ipc/
H A Dnamespace.c110 if (!(flags & CLONE_NEWIPC)) in copy_ipcs()
253 .type = CLONE_NEWIPC,
/kernel/linux/linux-5.10/tools/include/uapi/linux/
H A Dsched.h30 #define CLONE_NEWIPC 0x08000000 /* New ipc namespace */ macro
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dsched.h30 #define CLONE_NEWIPC 0x08000000 /* New ipc namespace */ macro
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dsched.h30 #define CLONE_NEWIPC 0x08000000 /* New ipc namespace */ macro
/kernel/linux/linux-6.6/tools/include/uapi/linux/
H A Dsched.h30 #define CLONE_NEWIPC 0x08000000 /* New ipc namespace */ macro
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dsched.h42 #define CLONE_NEWIPC 0x08000000 macro
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dsched.h42 #define CLONE_NEWIPC 0x08000000 macro
/kernel/linux/linux-5.10/tools/testing/selftests/pidfd/
H A Dpidfd_setns_test.c45 [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 Dpidfd_setns_test.c45 [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 Dunprivileged-remount-test.c25 #ifndef CLONE_NEWIPC
26 # define CLONE_NEWIPC 0x08000000 macro
/kernel/linux/linux-6.6/tools/testing/selftests/mount/
H A Dunprivileged-remount-test.c25 #ifndef CLONE_NEWIPC
26 # define CLONE_NEWIPC 0x08000000 macro
/kernel/linux/linux-5.10/include/linux/
H A Dipc_namespace.h150 if (flags & CLONE_NEWIPC) in copy_ipcs()

Completed in 11 milliseconds

12