/linux/security/apparmor/ |
A D | mount.c | 52 audit_log_format(ab, flags & MS_REC ? ", rbind" : ", bind"); in audit_mnt_flags() 60 audit_log_format(ab, flags & MS_REC ? ", runbindable" : in audit_mnt_flags() 63 audit_log_format(ab, flags & MS_REC ? ", rprivate" : in audit_mnt_flags() 66 audit_log_format(ab, flags & MS_REC ? ", rslave" : in audit_mnt_flags() 69 audit_log_format(ab, flags & MS_REC ? ", rshared" : in audit_mnt_flags() 436 flags &= MS_REC | MS_BIND; in aa_bind_mount() 470 flags &= (MS_REC | MS_SILENT | MS_SHARED | MS_PRIVATE | MS_SLAVE | in aa_mount_change_type()
|
/linux/tools/testing/selftests/mount/ |
A D | unprivileged-remount-test.c | 38 #ifndef MS_REC 39 # define MS_REC 16384 macro 297 ret = mount(orig_path, dest_path, "bind", MS_BIND | MS_REC, NULL); in test_priv_mount_unpriv_remount()
|
/linux/tools/testing/selftests/tmpfs/ |
A D | bug-link-o-tmpfile.c | 38 if (mount(NULL, "/", NULL, MS_PRIVATE|MS_REC, NULL) == -1) { in main()
|
/linux/tools/testing/selftests/exec/ |
A D | recursion-depth.c | 37 if (mount(NULL, "/", NULL, MS_PRIVATE|MS_REC, NULL) == -1) { in main()
|
/linux/tools/include/uapi/linux/ |
A D | mount.h | 26 #define MS_REC 16384 macro
|
/linux/include/uapi/linux/ |
A D | mount.h | 26 #define MS_REC 16384 macro
|
/linux/tools/testing/selftests/mount_setattr/ |
A D | mount_setattr_test.c | 32 #ifndef MS_REC 33 #define MS_REC 16384 macro 236 if (mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0)) in prepare_unpriv_mountns() 419 ASSERT_EQ(mount("/tmp", "/mnt/A/AA", NULL, MS_BIND | MS_REC, NULL), 0); in FIXTURE_SETUP() 1012 ASSERT_EQ(mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0), 0); in FIXTURE_SETUP() 1044 ASSERT_EQ(mount("/tmp", "/mnt/A/AA", NULL, MS_BIND | MS_REC, NULL), 0); in FIXTURE_SETUP()
|
/linux/samples/binderfs/ |
A D | binderfs_example.c | 30 ret = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0); in main()
|
/linux/tools/testing/selftests/proc/ |
A D | proc-subset-pid.c | 48 if (mount(NULL, "/", NULL, MS_PRIVATE|MS_REC, NULL) == -1) { in make_private_proc()
|
A D | proc-pid-vm.c | 62 if (mount(NULL, "/", NULL, MS_PRIVATE|MS_REC, NULL) == -1) { in make_private_tmp()
|
/linux/tools/testing/selftests/firmware/ |
A D | fw_namespace.c | 105 if (mount(NULL, "/", NULL, MS_SLAVE|MS_REC, NULL) == -1) in test_fw_in_ns()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
A D | test_bpffs.c | 40 err = mount("", "/", "", MS_REC | MS_PRIVATE, NULL); in fn()
|
/linux/tools/testing/selftests/filesystems/ |
A D | devpts_pts.c | 296 ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); in main()
|
/linux/tools/testing/selftests/pidfd/ |
A D | pidfd_fdinfo_test.c | 215 r = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0); in child_fdinfo_nspid_test()
|
A D | pidfd_test.c | 186 ret = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0); in test_pidfd_send_signal_recycled_pid_fail()
|
/linux/tools/testing/selftests/bpf/ |
A D | cgroup_helpers.c | 118 if (mount("none", "/", NULL, MS_REC | MS_PRIVATE, NULL)) { in setup_cgroup_environment()
|
/linux/tools/testing/selftests/move_mount_set_group/ |
A D | move_mount_set_group_test.c | 118 if (mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0)) in prepare_unpriv_mountns()
|
/linux/tools/testing/selftests/capabilities/ |
A D | test_execve.c | 132 if (mount("none", "/", NULL, MS_REC | MS_PRIVATE, NULL) != 0) in create_and_enter_ns()
|
/linux/tools/testing/selftests/filesystems/binderfs/ |
A D | binderfs_test.c | 49 ret = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0); in change_mountns()
|
/linux/tools/bpf/bpftool/ |
A D | common.c | 132 while (mount("", target, "none", MS_PRIVATE | MS_REC, NULL)) { in mnt_fs()
|
/linux/fs/ |
A D | namespace.c | 2296 int type = ms_flags & ~(MS_REC | MS_SILENT); in flags_to_propagation_type() 2314 int recurse = ms_flags & MS_REC; in do_change_type() 3312 return do_loopback(path, dev_name, flags & MS_REC); in path_mount()
|
/linux/tools/testing/selftests/landlock/ |
A D | fs_test.c | 169 ASSERT_EQ(0, mount(NULL, TMP_DIR, NULL, MS_PRIVATE | MS_REC, NULL)); in prepare_layout()
|