Home
last modified time | relevance | path

Searched refs:CLONE_NEWCGROUP (Results 1 – 13 of 13) 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
834 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.c6990 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/fs/
H A Dnsfs.c483 case CLONE_NEWCGROUP: in is_current_namespace()
577 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.c307 ASSERT_EQ(0, unshare(CLONE_NEWNS | CLONE_NEWCGROUP)); in prepare_layout_opt()
/linux/Documentation/admin-guide/
H A Dcgroup-v2.rst3002 "/proc/$PID/cgroup" file and cgroup mounts. The CLONE_NEWCGROUP clone