Home
last modified time | relevance | path

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

/linux/tools/include/uapi/linux/
H A Dsched.h
/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
827 CLONE_NEWCGROUP | CLONE_FILES | CLONE_VM | SIGCHLD, in test_cgcore_lesser_ns_open()
/linux/kernel/
H A Dnscommon.c15 case CLONE_NEWCGROUP: in ns_debug()
H A Dnstree.c289 case CLONE_NEWCGROUP: in ns_tree_from_type()
/linux/kernel/cgroup/
H A Dnamespace.c58 if (!(flags & CLONE_NEWCGROUP)) { in copy_cgroup_ns()
H A Dcgroup.c7130 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/tools/testing/selftests/namespaces/
H A Dnsid_test.c209 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.c310 ASSERT_EQ(0, unshare(CLONE_NEWNS | CLONE_NEWCGROUP)); in prepare_layout_opt()