Searched refs:CLONE_NEWIPC (Results 1 – 18 of 18) sorted by relevance
52 if (unshare(CLONE_NEWUTS | CLONE_NEWIPC | CLONE_NEWNET | CLONE_NEWUSER) < 0) { in TEST()74 ret = setns(pidfd, CLONE_NEWUTS | CLONE_NEWIPC); in TEST()95 child_pid = create_child(&pidfd, CLONE_NEWUSER | CLONE_NEWUTS | CLONE_NEWIPC | CLONE_NEWNET); in TEST()108 ret = setns(pidfd, CLONE_NEWUTS | CLONE_NEWIPC); in TEST()
252 if (unshare(CLONE_NEWIPC) < 0) in TEST()
189 unshare(CLONE_NEWIPC); in TEST()
305 ret = unshare(CLONE_NEWIPC); in TEST_F()
764 ret = unshare(CLONE_NEWIPC); in TEST()
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()
173 if (likely(!(flags & (CLONE_NEWNS | CLONE_NEWUTS | CLONE_NEWIPC | in copy_namespaces()191 if ((flags & (CLONE_NEWIPC | CLONE_SYSVSEM)) == in copy_namespaces()192 (CLONE_NEWIPC | CLONE_SYSVSEM)) in copy_namespaces()217 if (!(unshare_flags & (CLONE_NEWNS | CLONE_NEWUTS | CLONE_NEWIPC | in unshare_nsproxy_namespaces()295 if (!flags || (flags & ~(CLONE_NEWNS | CLONE_NEWUTS | CLONE_NEWIPC | in check_setns_flags()313 if (flags & CLONE_NEWIPC) in check_setns_flags()471 if (flags & CLONE_NEWIPC) { in validate_nsset()549 if (flags & CLONE_NEWIPC) in commit_nsset()
20 case CLONE_NEWIPC: in ns_debug()
291 case CLONE_NEWIPC: in ns_tree_from_type()
3050 CLONE_NEWUTS|CLONE_NEWIPC|CLONE_NEWNET| in check_unshare_flags()3162 if (unshare_flags & (CLONE_NEWIPC|CLONE_SYSVSEM)) in ksys_unshare()3191 if (unshare_flags & CLONE_NEWIPC) { in ksys_unshare()
25 #ifndef CLONE_NEWIPC26 # define CLONE_NEWIPC 0x08000000 macro
30 #define CLONE_NEWIPC 0x08000000 /* New ipc namespace */ macro
162 if (flags & CLONE_NEWIPC) in copy_ipcs()
46 …[PIDFD_NS_IPC] = { "ipc", CLONE_NEWIPC, PIDFD_GET_IPC_NAMESPACE, …180 if (self->nsfds[PIDFD_NS_IPC] >= 0 && unshare(CLONE_NEWIPC) < 0) { in FIXTURE_SETUP()234 if (self->nsfds[PIDFD_NS_IPC] >= 0 && unshare(CLONE_NEWIPC) < 0) { in FIXTURE_SETUP()
114 if (!(flags & CLONE_NEWIPC)) in copy_ipcs()
487 case CLONE_NEWIPC: in is_current_namespace()583 case CLONE_NEWIPC: in nsfs_fh_to_dentry()