Home
last modified time | relevance | path

Searched refs:MS_PRIVATE (Results 1 – 18 of 18) sorted by relevance

/tools/testing/selftests/move_mount_set_group/
Dmove_mount_set_group_test.c32 #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/
Dbug-link-o-tmpfile.c38 if (mount(NULL, "/", NULL, MS_PRIVATE|MS_REC, NULL) == -1) { in main()
/tools/testing/selftests/exec/
Drecursion-depth.c37 if (mount(NULL, "/", NULL, MS_PRIVATE|MS_REC, NULL) == -1) { in main()
/tools/include/uapi/linux/
Dmount.h32 #define MS_PRIVATE (1<<18) /* change to private */ macro
/tools/testing/selftests/proc/
Dproc-subset-pid.c48 if (mount(NULL, "/", NULL, MS_PRIVATE|MS_REC, NULL) == -1) { in make_private_proc()
Dproc-pid-vm.c62 if (mount(NULL, "/", NULL, MS_PRIVATE|MS_REC, NULL) == -1) { in make_private_tmp()
/tools/testing/selftests/bpf/prog_tests/
Dtest_bpffs.c38 err = mount("", "/", "", MS_REC | MS_PRIVATE, NULL); in fn()
Dtc_redirect.c111 err = mount("none", "/sys", NULL, MS_PRIVATE, NULL); in setns_by_fd()
/tools/testing/selftests/filesystems/
Ddevpts_pts.c296 ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); in main()
/tools/testing/selftests/bpf/
Dcgroup_helpers.c119 if (mount("none", "/", NULL, MS_REC | MS_PRIVATE, NULL)) { in setup_cgroup_environment()
/tools/testing/selftests/pidfd/
Dpidfd_fdinfo_test.c229 r = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0); in child_fdinfo_nspid_test()
Dpidfd_test.c186 ret = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0); in test_pidfd_send_signal_recycled_pid_fail()
/tools/testing/selftests/capabilities/
Dtest_execve.c132 if (mount("none", "/", NULL, MS_REC | MS_PRIVATE, NULL) != 0) in create_and_enter_ns()
/tools/testing/selftests/filesystems/binderfs/
Dbinderfs_test.c49 ret = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0); in change_mountns()
/tools/testing/selftests/mount_setattr/
Dmount_setattr_test.c230 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/
Dresolve_test.c54 E_mount("", "/tmp", "", MS_PRIVATE, ""); in setup_testdir()
/tools/bpf/bpftool/
Dcommon.c131 while (mount("", target, "none", MS_PRIVATE | MS_REC, NULL)) { in mnt_fs()
/tools/testing/selftests/landlock/
Dfs_test.c220 ASSERT_EQ(0, mount(NULL, TMP_DIR, NULL, MS_PRIVATE | MS_REC, NULL)); in prepare_layout()