| /linux/security/tomoyo/ |
| H A D | mount.c | 213 if (flags & (MS_PRIVATE | MS_SLAVE | MS_UNBINDABLE)) in tomoyo_mount_permission() 218 if (flags & (MS_SHARED | MS_SLAVE | MS_UNBINDABLE)) in tomoyo_mount_permission() 222 } else if (flags & MS_SLAVE) { in tomoyo_mount_permission() 226 flags &= ~MS_SLAVE; in tomoyo_mount_permission() 228 if (flags & (MS_SHARED | MS_PRIVATE | MS_SLAVE)) in tomoyo_mount_permission()
|
| /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/include/uapi/linux/ |
| H A D | mount.h | 33 #define MS_SLAVE (1<<19) /* change to slave */ 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/include/uapi/linux/ |
| H A D | mount.h | 33 #define MS_SLAVE (1<<19) /* change to slave */ macro
|
| /linux/tools/perf/trace/beauty/include/uapi/linux/ |
| H A D | mount.h | 33 #define MS_SLAVE (1<<19) /* change to slave */ macro
|
| /linux/tools/testing/selftests/filesystems/ |
| H A D | file_stressor.c | 64 ASSERT_EQ(mount(NULL, "/", NULL, MS_SLAVE | MS_REC, NULL), 0); in FIXTURE_SETUP()
|
| /linux/samples/vfs/ |
| H A D | mountinfo.c | 106 if (sm->mnt_propagation & MS_SLAVE) { in show_propagation()
|
| /linux/security/apparmor/ |
| H A D | mount.c | 67 if (flags & MS_SLAVE) in audit_mnt_flags() 470 flags &= (MS_REC | MS_SILENT | MS_SHARED | MS_PRIVATE | MS_SLAVE | in aa_mount_change_type()
|
| H A D | lsm.c | 721 else if (flags & (MS_SHARED | MS_PRIVATE | MS_SLAVE | in apparmor_sb_mount()
|
| /linux/tools/testing/selftests/filesystems/mount-notify/ |
| H A D | mount-notify_test.c | 387 ret = mount("", "/b", NULL, MS_SLAVE, NULL); in TEST_F()
|
| H A D | mount-notify_test_ns.c | 414 ret = mount("", "/b", NULL, MS_SLAVE, NULL); in TEST_F()
|
| /linux/fs/ |
| H A D | pnode.c | 113 if (type == MS_SLAVE) { in change_mnt_propagation()
|
| H A D | namespace.c | 2852 if (type & ~(MS_SHARED | MS_PRIVATE | MS_SLAVE | MS_UNBINDABLE)) in flags_to_propagation_type() 4154 if (flags & (MS_SHARED | MS_PRIVATE | MS_SLAVE | MS_UNBINDABLE)) in path_mount() 4380 (MS_UNBINDABLE | MS_PRIVATE | MS_SLAVE | MS_SHARED) 5248 propagation |= MS_SLAVE; in mnt_to_propagation_flags()
|