/tools/testing/selftests/move_mount_set_group/ |
D | move_mount_set_group_test.c | 32 #ifndef MS_PRIVATE 33 #define MS_PRIVATE (1<<18) macro 118 if (mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0)) in prepare_unpriv_mountns() 202 if (mount(NULL, "/tmp", NULL, MS_PRIVATE, 0)) in move_mount_set_group_supported()
|
/tools/testing/selftests/tmpfs/ |
D | bug-link-o-tmpfile.c | 38 if (mount(NULL, "/", NULL, MS_PRIVATE|MS_REC, NULL) == -1) { in main()
|
/tools/testing/selftests/exec/ |
D | recursion-depth.c | 37 if (mount(NULL, "/", NULL, MS_PRIVATE|MS_REC, NULL) == -1) { in main()
|
/tools/include/uapi/linux/ |
D | mount.h | 32 #define MS_PRIVATE (1<<18) /* change to private */ macro
|
/tools/testing/selftests/proc/ |
D | proc-subset-pid.c | 48 if (mount(NULL, "/", NULL, MS_PRIVATE|MS_REC, NULL) == -1) { in make_private_proc()
|
D | proc-pid-vm.c | 62 if (mount(NULL, "/", NULL, MS_PRIVATE|MS_REC, NULL) == -1) { in make_private_tmp()
|
/tools/testing/selftests/bpf/prog_tests/ |
D | test_bpffs.c | 38 err = mount("", "/", "", MS_REC | MS_PRIVATE, NULL); in fn()
|
D | tc_redirect.c | 111 err = mount("none", "/sys", NULL, MS_PRIVATE, NULL); in setns_by_fd()
|
/tools/testing/selftests/filesystems/ |
D | devpts_pts.c | 296 ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); in main()
|
/tools/testing/selftests/bpf/ |
D | cgroup_helpers.c | 119 if (mount("none", "/", NULL, MS_REC | MS_PRIVATE, NULL)) { in setup_cgroup_environment()
|
/tools/testing/selftests/pidfd/ |
D | pidfd_fdinfo_test.c | 229 r = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0); in child_fdinfo_nspid_test()
|
D | pidfd_test.c | 186 ret = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0); in test_pidfd_send_signal_recycled_pid_fail()
|
/tools/testing/selftests/capabilities/ |
D | test_execve.c | 132 if (mount("none", "/", NULL, MS_REC | MS_PRIVATE, NULL) != 0) in create_and_enter_ns()
|
/tools/testing/selftests/filesystems/binderfs/ |
D | binderfs_test.c | 49 ret = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0); in change_mountns()
|
/tools/testing/selftests/mount_setattr/ |
D | mount_setattr_test.c | 230 if (mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0)) in prepare_unpriv_mountns() 1006 ASSERT_EQ(mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0), 0); in FIXTURE_SETUP()
|
/tools/testing/selftests/openat2/ |
D | resolve_test.c | 54 E_mount("", "/tmp", "", MS_PRIVATE, ""); in setup_testdir()
|
/tools/bpf/bpftool/ |
D | common.c | 131 while (mount("", target, "none", MS_PRIVATE | MS_REC, NULL)) { in mnt_fs()
|
/tools/testing/selftests/landlock/ |
D | fs_test.c | 220 ASSERT_EQ(0, mount(NULL, TMP_DIR, NULL, MS_PRIVATE | MS_REC, NULL)); in prepare_layout()
|