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

/linux-master/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) {
74 if (unshare(CLONE_NEWIPC) == -1) {
103 if (setns(nsfd, CLONE_NEWIPC) == -1) {
/linux-master/kernel/
H A Dnsproxy.c157 if (likely(!(flags & (CLONE_NEWNS | CLONE_NEWUTS | CLONE_NEWIPC |
169 * CLONE_NEWIPC must detach from the undolist: after switching
173 * it along with CLONE_NEWIPC.
175 if ((flags & (CLONE_NEWIPC | CLONE_SYSVSEM)) ==
176 (CLONE_NEWIPC | CLONE_SYSVSEM))
219 if (!(unshare_flags & (CLONE_NEWNS | CLONE_NEWUTS | CLONE_NEWIPC |
278 if (!flags || (flags & ~(CLONE_NEWNS | CLONE_NEWUTS | CLONE_NEWIPC |
296 if (flags & CLONE_NEWIPC)
454 if (flags & CLONE_NEWIPC) {
532 if (flags & CLONE_NEWIPC)
[all...]
H A Dfork.c3199 CLONE_NEWUTS|CLONE_NEWIPC|CLONE_NEWNET|
3308 * CLONE_NEWIPC must also detach from the undolist: after switching
3312 if (unshare_flags & (CLONE_NEWIPC|CLONE_SYSVSEM))
3341 if (unshare_flags & CLONE_NEWIPC) {
/linux-master/include/uapi/linux/
H A Dsched.h30 #define CLONE_NEWIPC 0x08000000 /* New ipc namespace */ macro
/linux-master/tools/include/uapi/linux/
H A Dsched.h30 #define CLONE_NEWIPC 0x08000000 /* New ipc namespace */ macro
/linux-master/include/linux/
H A Dipc_namespace.h157 if (flags & CLONE_NEWIPC)
/linux-master/tools/testing/selftests/mount/
H A Dunprivileged-remount-test.c25 #ifndef CLONE_NEWIPC
26 # define CLONE_NEWIPC 0x08000000 macro
/linux-master/ipc/
H A Dnamespace.c110 if (!(flags & CLONE_NEWIPC))
253 .type = CLONE_NEWIPC,
/linux-master/tools/testing/selftests/pidfd/
H A Dpidfd_setns_test.c45 [PIDFD_NS_IPC] = { "ipc", CLONE_NEWIPC, },
179 CLONE_NEWCGROUP | CLONE_NEWIPC |
208 CLONE_NEWCGROUP | CLONE_NEWIPC |

Completed in 192 milliseconds