Home
last modified time | relevance | path

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

/linux/security/tomoyo/
A Dmount.c211 if (flags & (MS_PRIVATE | MS_SLAVE | MS_UNBINDABLE)) in tomoyo_mount_permission()
215 } else if (flags & MS_PRIVATE) { in tomoyo_mount_permission()
219 flags &= ~MS_PRIVATE; in tomoyo_mount_permission()
221 if (flags & (MS_SHARED | MS_PRIVATE | MS_UNBINDABLE)) in tomoyo_mount_permission()
226 if (flags & (MS_SHARED | MS_PRIVATE | MS_SLAVE)) in tomoyo_mount_permission()
/linux/tools/testing/selftests/move_mount_set_group/
A 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()
/linux/tools/testing/selftests/tmpfs/
A Dbug-link-o-tmpfile.c38 if (mount(NULL, "/", NULL, MS_PRIVATE|MS_REC, NULL) == -1) { in main()
/linux/tools/testing/selftests/exec/
A Drecursion-depth.c37 if (mount(NULL, "/", NULL, MS_PRIVATE|MS_REC, NULL) == -1) { in main()
/linux/tools/include/uapi/linux/
A Dmount.h32 #define MS_PRIVATE (1<<18) /* change to private */ macro
/linux/include/uapi/linux/
A Dmount.h32 #define MS_PRIVATE (1<<18) /* change to private */ macro
/linux/samples/binderfs/
A Dbinderfs_example.c30 ret = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0); in main()
/linux/tools/testing/selftests/proc/
A Dproc-subset-pid.c48 if (mount(NULL, "/", NULL, MS_PRIVATE|MS_REC, NULL) == -1) { in make_private_proc()
A Dproc-pid-vm.c62 if (mount(NULL, "/", NULL, MS_PRIVATE|MS_REC, NULL) == -1) { in make_private_tmp()
/linux/tools/testing/selftests/bpf/prog_tests/
A Dtest_bpffs.c40 err = mount("", "/", "", MS_REC | MS_PRIVATE, NULL); in fn()
/linux/tools/testing/selftests/filesystems/
A Ddevpts_pts.c296 ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); in main()
/linux/tools/testing/selftests/pidfd/
A Dpidfd_fdinfo_test.c215 r = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0); in child_fdinfo_nspid_test()
A Dpidfd_test.c186 ret = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0); in test_pidfd_send_signal_recycled_pid_fail()
/linux/tools/testing/selftests/bpf/
A Dcgroup_helpers.c118 if (mount("none", "/", NULL, MS_REC | MS_PRIVATE, NULL)) { in setup_cgroup_environment()
/linux/security/apparmor/
A Dmount.c62 if (flags & MS_PRIVATE) in audit_mnt_flags()
470 flags &= (MS_REC | MS_SILENT | MS_SHARED | MS_PRIVATE | MS_SLAVE | in aa_mount_change_type()
A Dlsm.c556 else if (flags & (MS_SHARED | MS_PRIVATE | MS_SLAVE | in apparmor_sb_mount()
/linux/tools/testing/selftests/capabilities/
A Dtest_execve.c132 if (mount("none", "/", NULL, MS_REC | MS_PRIVATE, NULL) != 0) in create_and_enter_ns()
/linux/tools/testing/selftests/filesystems/binderfs/
A Dbinderfs_test.c49 ret = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0); in change_mountns()
/linux/tools/testing/selftests/mount_setattr/
A Dmount_setattr_test.c236 if (mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0)) in prepare_unpriv_mountns()
1012 ASSERT_EQ(mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0), 0); in FIXTURE_SETUP()
/linux/tools/testing/selftests/openat2/
A Dresolve_test.c54 E_mount("", "/tmp", "", MS_PRIVATE, ""); in setup_testdir()
/linux/tools/bpf/bpftool/
A Dcommon.c132 while (mount("", target, "none", MS_PRIVATE | MS_REC, NULL)) { in mnt_fs()
/linux/fs/
A Dnamespace.c1548 change_mnt_propagation(p, MS_PRIVATE); in umount_tree()
2299 if (type & ~(MS_SHARED | MS_PRIVATE | MS_SLAVE | MS_UNBINDABLE)) in flags_to_propagation_type()
3313 if (flags & (MS_SHARED | MS_PRIVATE | MS_SLAVE | MS_UNBINDABLE)) in path_mount()
3558 (MS_UNBINDABLE | MS_PRIVATE | MS_SLAVE | MS_SHARED)
/linux/tools/testing/selftests/landlock/
A Dfs_test.c169 ASSERT_EQ(0, mount(NULL, TMP_DIR, NULL, MS_PRIVATE | MS_REC, NULL)); in prepare_layout()

Completed in 42 milliseconds