Home
last modified time | relevance | path

Searched refs:CLONE_NEWCGROUP (Results 1 – 17 of 17) sorted by relevance

/linux/kernel/
H A Dnsproxy.c175 CLONE_NEWCGROUP | CLONE_NEWTIME)))) { in copy_namespaces()
218 CLONE_NEWNET | CLONE_NEWPID | CLONE_NEWCGROUP | in unshare_nsproxy_namespaces()
297 CLONE_NEWPID | CLONE_NEWCGROUP))) in check_setns_flags()
317 if (flags & CLONE_NEWCGROUP) in check_setns_flags()
487 if (flags & CLONE_NEWCGROUP) { in validate_nsset()
H A Dnscommon.c15 case CLONE_NEWCGROUP: in ns_debug()
H A Dnstree.c289 case CLONE_NEWCGROUP: in ns_tree_from_type()
H A Dfork.c3049 CLONE_NEWUSER|CLONE_NEWPID|CLONE_NEWCGROUP| in check_unshare_flags()
/linux/tools/include/uapi/linux/
H A Dsched.h
/linux/include/uapi/linux/
H A Dsched.h28 #define CLONE_NEWCGROUP 0x02000000 /* New cgroup namespace */ macro
/linux/tools/perf/trace/beauty/include/uapi/linux/
H A Dsched.h28 #define CLONE_NEWCGROUP 0x02000000 /* New cgroup namespace */ macro
/linux/tools/testing/selftests/cgroup/
H A Dtest_core.c24 #ifndef CLONE_NEWCGROUP
25 #define CLONE_NEWCGROUP 0 macro
833 CLONE_NEWCGROUP | CLONE_FILES | CLONE_VM | SIGCHLD, in test_cgcore_lesser_ns_open()
/linux/kernel/cgroup/
H A Dnamespace.c58 if (!(flags & CLONE_NEWCGROUP)) { in copy_cgroup_ns()
H A Dcgroup.c6959 if (kargs->flags & CLONE_NEWCGROUP) { in cgroup_post_fork()
/linux/tools/testing/selftests/pidfd/
H A Dpidfd_setns_test.c48 …[PIDFD_NS_CGROUP] = { "cgroup", CLONE_NEWCGROUP, PIDFD_GET_CGROUP_NAMESPACE, …
176 if (self->nsfds[PIDFD_NS_CGROUP] >= 0 && unshare(CLONE_NEWCGROUP) < 0) { in FIXTURE_SETUP()
230 if (self->nsfds[PIDFD_NS_CGROUP] >= 0 && unshare(CLONE_NEWCGROUP) < 0) { in FIXTURE_SETUP()
/linux/include/linux/ns/
H A Dns_common_types.h187 struct cgroup_namespace *: CLONE_NEWCGROUP, \
/linux/fs/
H A Dnsfs.c457 case CLONE_NEWCGROUP: in is_current_namespace()
551 case CLONE_NEWCGROUP: in nsfs_fh_to_dentry()
/linux/tools/testing/selftests/namespaces/
H A Dnsid_test.c199 ret = unshare(CLONE_NEWCGROUP); in TEST_F()
H A Dfile_handle_test.c1025 ret = unshare(CLONE_NEWCGROUP); in TEST()
/linux/tools/testing/selftests/landlock/
H A Dfs_test.c306 ASSERT_EQ(0, unshare(CLONE_NEWNS | CLONE_NEWCGROUP)); in prepare_layout_opt()
/linux/Documentation/admin-guide/
H A Dcgroup-v2.rst2987 "/proc/$PID/cgroup" file and cgroup mounts. The CLONE_NEWCGROUP clone