| /linux/tools/testing/selftests/pid_namespace/ |
| H A D | pid_max.c | 107 ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); in pid_max_nested_inner() 153 ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); in pid_max_nested_inner() 232 ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); in pid_max_nested_limit_inner() 308 ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); in pid_max_nested_limit_outer() 367 ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0);
|
| /linux/security/apparmor/ |
| H A D | mount.c | 58 audit_log_format(ab, flags & MS_REC ? ", rbind" : ", bind"); in audit_mnt_flags() 66 audit_log_format(ab, flags & MS_REC ? ", runbindable" : in audit_mnt_flags() 69 audit_log_format(ab, flags & MS_REC ? ", rprivate" : in audit_mnt_flags() 72 audit_log_format(ab, flags & MS_REC ? ", rslave" : in audit_mnt_flags() 75 audit_log_format(ab, flags & MS_REC ? ", rshared" : in audit_mnt_flags() 371 flags &= MS_REC | MS_BIND; in aa_bind_mount() 409 flags &= (MS_REC | MS_SILENT | MS_SHARED | MS_PRIVATE | MS_SLAVE | in aa_mount_change_type()
|
| /linux/tools/testing/selftests/filesystems/mount_cycle/ |
| H A D | unmounted_tree_test.c | 90 return mount("", "/", NULL, MS_REC | MS_PRIVATE, NULL); in enter_userns() 98 return mount("", "/", NULL, MS_REC | MS_PRIVATE, NULL); in own_mntns() 130 EXPECT_EQ(mount(link, target, NULL, MS_BIND | MS_REC, NULL), -1); in assert_not_walked() 189 ASSERT_EQ(mount(y, z, NULL, MS_BIND | MS_REC, NULL), 0); in TEST_F() 342 if (!mount(link, a->y, NULL, MS_BIND | MS_REC, NULL)) in vacant_child()
|
| H A D | locked_handle_test.c | 96 if (mount("", "/", NULL, MS_REC | MS_PRIVATE, NULL)) in enter_userns() 172 if (mount(h, w, NULL, MS_BIND | MS_REC, NULL)) in race_round() 240 if (mount(plain, w, NULL, MS_BIND | MS_REC, NULL)) in allowed_child() 279 ASSERT_EQ(mount("", "/", NULL, MS_REC | MS_PRIVATE, NULL), 0); in FIXTURE_SETUP()
|
| H A D | nsfs_rbind_loop_test.c | 79 return mount("", "/", NULL, MS_REC | MS_PRIVATE, NULL); in enter_userns() 142 if (!mount(src, y, NULL, MS_BIND | MS_REC, NULL)) in newer_ns_child()
|
| H A D | overmount_reparent_test.c | 69 return mount("", "/", NULL, MS_REC | MS_PRIVATE, NULL); in enter_userns()
|
| /linux/tools/testing/selftests/mount/ |
| H 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/filesystems/overlayfs/ |
| H A D | set_layers_via_fds.c | 55 ASSERT_EQ(sys_mount(NULL, "/", NULL, MS_SLAVE | MS_REC, NULL), 0); in TEST_F() 172 ASSERT_EQ(sys_mount(NULL, "/", NULL, MS_SLAVE | MS_REC, NULL), 0); in TEST_F() 239 ASSERT_EQ(sys_mount(NULL, "/", NULL, MS_SLAVE | MS_REC, NULL), 0); in TEST_F() 384 ASSERT_EQ(sys_mount(NULL, "/", NULL, MS_SLAVE | MS_REC, NULL), 0); in TEST_F() 458 ASSERT_EQ(sys_mount(NULL, "/", NULL, MS_SLAVE | MS_REC, NULL), 0); in TEST_F() 535 ASSERT_EQ(sys_mount(NULL, "/", NULL, MS_SLAVE | MS_REC, NULL), 0); in TEST_F() 604 ASSERT_EQ(sys_mount(NULL, "/", NULL, MS_SLAVE | MS_REC, NULL), 0); in TEST_F()
|
| H A D | dev_in_maps.c | 148 if (sys_mount(NULL, "/", NULL, MS_SLAVE | MS_REC, NULL) == -1) { in main()
|
| /linux/tools/testing/selftests/filesystems/umount_propagation/ |
| H A D | umount_propagation_test.c | 91 ASSERT_EQ(mount("", "/", NULL, MS_REC | MS_PRIVATE, NULL), 0); in FIXTURE_SETUP() 159 if (mount("", "/", NULL, MS_REC | MS_SLAVE, NULL)) in slave_child()
|
| H A D | locked_mount_test.c | 176 ASSERT_EQ(mount("", "/", NULL, MS_REC | MS_PRIVATE, NULL), 0); in FIXTURE_SETUP() 275 if (mount(srv, x, NULL, MS_BIND | MS_REC, NULL) || in expiry_child() 351 if (mount(dbg, x, NULL, MS_BIND | MS_REC, NULL)) in copied_tree_child()
|
| /linux/tools/testing/selftests/namespaces/ |
| H A D | listns_efault_test.c | 122 if (mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0)) in TEST() 335 if (mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0)) in TEST() 484 if (mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0)) in TEST()
|
| /linux/tools/testing/selftests/filesystems/mntns_unbindable/ |
| H A D | mntns_unbindable_test.c | 57 ASSERT_EQ(mount("", "/", NULL, MS_REC | MS_PRIVATE, NULL), 0); in FIXTURE_SETUP() 154 ret = mount(src, dst, NULL, MS_BIND | MS_REC, NULL); in rbind_after_clone()
|
| /linux/tools/testing/selftests/exec/ |
| H A D | recursion-depth.c | 43 if (mount(NULL, "/", NULL, MS_PRIVATE | MS_REC, NULL) == -1) in main()
|
| /linux/tools/testing/selftests/tmpfs/ |
| H A D | bug-link-o-tmpfile.c | 50 if (mount(NULL, "/", NULL, MS_PRIVATE|MS_REC, NULL) == -1) { in main()
|
| /linux/samples/binderfs/ |
| H A D | binderfs_example.c | 30 ret = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0); in main()
|
| /linux/tools/testing/selftests/proc/ |
| H A D | proc-subset-pid.c | 48 if (mount(NULL, "/", NULL, MS_PRIVATE|MS_REC, NULL) == -1) { in make_private_proc()
|
| /linux/tools/testing/selftests/mount_setattr/ |
| H A D | mount_setattr_test.c | 34 #ifndef MS_REC 35 #define MS_REC 16384 macro 220 if (mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0)) in prepare_unpriv_mountns() 407 ASSERT_EQ(mount("/tmp", "/mnt/A/AA", NULL, MS_BIND | MS_REC, NULL), 0); in FIXTURE_SETUP() 1000 ASSERT_EQ(mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0), 0); in FIXTURE_SETUP() 1032 ASSERT_EQ(mount("/tmp", "/mnt/A/AA", NULL, MS_BIND | MS_REC, NULL), 0); in FIXTURE_SETUP() 1441 ASSERT_EQ(mount("/tmp", "/mnt/A/AA", NULL, MS_BIND | MS_REC, NULL), 0); in TEST_F() 2091 ASSERT_EQ(mount(NULL, "/mnt", NULL, MS_REC | MS_SHARED, NULL), 0); in TEST_F()
|
| /linux/tools/include/uapi/linux/ |
| H A D | mount.h | 26 #define MS_REC 16384 macro
|
| /linux/tools/testing/selftests/firmware/ |
| H A D | fw_namespace.c | 101 if (mount(NULL, "/", NULL, MS_SLAVE|MS_REC, NULL) == -1) in test_fw_in_ns()
|
| /linux/tools/perf/trace/beauty/include/uapi/linux/ |
| H A D | mount.h | 26 #define MS_REC 16384 macro
|
| /linux/include/uapi/linux/ |
| H A D | mount.h | 26 #define MS_REC 16384 macro
|
| /linux/tools/testing/selftests/filesystems/fuse/ |
| H A D | fusectl_test.c | 59 ASSERT_EQ(mount("", "/", NULL, MS_REC|MS_PRIVATE, NULL), 0); in FIXTURE_SETUP()
|
| /linux/tools/testing/selftests/filesystems/ |
| H A D | fclog.c | 40 ASSERT_SUCCESS(mount(NULL, "/", NULL, MS_PRIVATE|MS_REC, NULL)); in FIXTURE_SETUP()
|
| H A D | idmapped_tmpfile.c | 87 ASSERT_EQ(sys_mount(NULL, "/", NULL, MS_SLAVE | MS_REC, NULL), 0); in FIXTURE_SETUP()
|