/linux-master/tools/testing/selftests/filesystems/ |
H A D | devpts_pts.c | 290 ret = unshare(CLONE_NEWNS);
|
/linux-master/tools/testing/selftests/tmpfs/ |
H A D | bug-link-o-tmpfile.c | 30 if (unshare(CLONE_NEWNS) == -1) {
|
/linux-master/drivers/base/ |
H A D | devtmpfs.c | 416 err = ksys_unshare(CLONE_NEWNS);
|
/linux-master/fs/ |
H A D | namespace.c | 3772 if (likely(!(flags & CLONE_NEWNS))) { 5444 .type = CLONE_NEWNS,
|
/linux-master/include/uapi/linux/ |
H A D | sched.h | 20 #define CLONE_NEWNS 0x00020000 /* New mount namespace group */ macro
|
/linux-master/kernel/ |
H A D | fork.c | 2151 if ((clone_flags & (CLONE_NEWNS|CLONE_FS)) == (CLONE_NEWNS|CLONE_FS)) 3197 if (unshare_flags & ~(CLONE_THREAD|CLONE_FS|CLONE_NEWNS|CLONE_SIGHAND| 3301 if (unshare_flags & CLONE_NEWNS)
|
H A D | nsproxy.c | 157 if (likely(!(flags & (CLONE_NEWNS | CLONE_NEWUTS | CLONE_NEWIPC | 219 if (!(unshare_flags & (CLONE_NEWNS | CLONE_NEWUTS | CLONE_NEWIPC | 278 if (!flags || (flags & ~(CLONE_NEWNS | CLONE_NEWUTS | CLONE_NEWIPC | 325 if (nsset->fs && (flags & CLONE_NEWNS) && (flags & ~CLONE_NEWNS)) 347 if (flags == CLONE_NEWNS) { 349 } else if (flags & CLONE_NEWNS) { 439 if (flags & CLONE_NEWNS) { 526 if ((flags & CLONE_NEWNS) && (flags & ~CLONE_NEWNS)) { [all...] |
/linux-master/samples/binderfs/ |
H A D | binderfs_example.c | 23 ret = unshare(CLONE_NEWNS);
|
/linux-master/tools/include/uapi/linux/ |
H A D | sched.h | 20 #define CLONE_NEWNS 0x00020000 /* New mount namespace group */ macro
|
/linux-master/tools/perf/util/ |
H A D | namespaces.c | 306 if (setns(newns, CLONE_NEWNS) < 0) 327 setns(nc->oldns, CLONE_NEWNS);
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | cgroup_helpers.c | 210 if (unshare(CLONE_NEWNS)) {
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | connect_ping.c | 101 if (!ASSERT_OK(unshare(CLONE_NEWNET | CLONE_NEWNS), "unshare"))
|
H A D | test_bpffs.c | 39 err = unshare(CLONE_NEWNS);
|
H A D | token.c | 307 err = unshare(CLONE_NEWNS);
|
/linux-master/tools/testing/selftests/capabilities/ |
H A D | test_execve.c | 91 if (outer_uid == 0 && unshare(CLONE_NEWNS) == 0) { 109 } else if (unshare(CLONE_NEWUSER | CLONE_NEWNS) == 0) {
|
/linux-master/tools/testing/selftests/exec/ |
H A D | recursion-depth.c | 35 if (unshare(CLONE_NEWNS) == -1) {
|
/linux-master/tools/testing/selftests/filesystems/binderfs/ |
H A D | binderfs_test.c | 43 ret = unshare(CLONE_NEWNS);
|
/linux-master/tools/testing/selftests/filesystems/overlayfs/ |
H A D | dev_in_maps.c | 168 if (unshare(CLONE_NEWNS) == -1) {
|
/linux-master/tools/testing/selftests/filesystems/statmount/ |
H A D | statmount_test.c | 140 ret = unshare(CLONE_NEWNS|CLONE_NEWUSER);
|
/linux-master/tools/testing/selftests/firmware/ |
H A D | fw_namespace.c | 97 if (unshare(CLONE_NEWNS) != 0) { 98 die("unshare(CLONE_NEWNS) failed: %s\n",
|
/linux-master/tools/testing/selftests/landlock/ |
H A D | fs_test.c | 269 ASSERT_EQ(0, unshare(CLONE_NEWNS | CLONE_NEWCGROUP));
|
/linux-master/tools/testing/selftests/mount/ |
H A D | nosymfollow-test.c | 111 if (unshare(CLONE_NEWNS) != 0) 112 die("unshare(CLONE_NEWNS) failed: %s\n", strerror(errno));
|
H A D | unprivileged-remount-test.c | 19 #ifndef CLONE_NEWNS 20 # define CLONE_NEWNS 0x00020000 macro 211 if (unshare(CLONE_NEWNS) != 0) { 212 die("unshare(CLONE_NEWNS) failed: %s\n", 225 if (unshare(CLONE_NEWNS) != 0) { 226 die("unshare(CLONE_NEWNS) failed: %s\n", 291 ret = unshare(CLONE_NEWNS); 293 die("unshare(CLONE_NEWNS) failed: %s\n",
|
/linux-master/tools/testing/selftests/mount_setattr/ |
H A D | mount_setattr_test.c | 25 #ifndef CLONE_NEWNS 26 #define CLONE_NEWNS 0x00020000 macro 227 if (unshare(CLONE_NEWNS)) 990 ASSERT_EQ(unshare(CLONE_NEWNS), 0); 1004 ASSERT_EQ(unshare(CLONE_NEWNS), 0); 1284 ASSERT_EQ(unshare(CLONE_NEWNS), 0); 1345 ASSERT_EQ(unshare(CLONE_NEWNS), 0);
|
/linux-master/tools/testing/selftests/move_mount_set_group/ |
H A D | move_mount_set_group_test.c | 20 #ifndef CLONE_NEWNS 21 #define CLONE_NEWNS 0x00020000 macro 115 if (unshare(CLONE_NEWNS)) 371 ASSERT_EQ(setns(ca_to.mntnsfd, CLONE_NEWNS), 0);
|