| /linux-6.15/security/tomoyo/ |
| H A D | mount.c | 211 if (flags & (MS_PRIVATE | MS_SLAVE | MS_UNBINDABLE)) in tomoyo_mount_permission() 216 if (flags & (MS_SHARED | MS_SLAVE | MS_UNBINDABLE)) in tomoyo_mount_permission() 220 } else if (flags & MS_SLAVE) { in tomoyo_mount_permission() 224 flags &= ~MS_SLAVE; in tomoyo_mount_permission() 226 if (flags & (MS_SHARED | MS_PRIVATE | MS_SLAVE)) in tomoyo_mount_permission()
|
| /linux-6.15/samples/vfs/ |
| H A D | samples-vfs.h | 241 #ifndef MS_SLAVE 242 #define MS_SLAVE (1<<19) /* change to slave */ macro
|
| H A D | mountinfo.c | 106 if (sm->mnt_propagation & MS_SLAVE) { in show_propagation()
|
| /linux-6.15/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-6.15/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-6.15/tools/perf/trace/beauty/include/uapi/linux/ |
| H A D | mount.h | 33 #define MS_SLAVE (1<<19) /* change to slave */ macro
|
| /linux-6.15/include/uapi/linux/ |
| H A D | mount.h | 33 #define MS_SLAVE (1<<19) /* change to slave */ macro
|
| /linux-6.15/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-6.15/security/apparmor/ |
| H A D | mount.c | 67 if (flags & MS_SLAVE) in audit_mnt_flags() 472 flags &= (MS_REC | MS_SILENT | MS_SHARED | MS_PRIVATE | MS_SLAVE | in aa_mount_change_type()
|
| H A D | lsm.c | 724 else if (flags & (MS_SHARED | MS_PRIVATE | MS_SLAVE | in apparmor_sb_mount()
|
| /linux-6.15/fs/ |
| H A D | pnode.c | 129 if (type != MS_SLAVE) { in change_mnt_propagation()
|
| H A D | namespace.c | 2920 if (type & ~(MS_SHARED | MS_PRIVATE | MS_SLAVE | MS_UNBINDABLE)) in flags_to_propagation_type() 4203 if (flags & (MS_SHARED | MS_PRIVATE | MS_SLAVE | MS_UNBINDABLE)) in path_mount() 4451 (MS_UNBINDABLE | MS_PRIVATE | MS_SLAVE | MS_SHARED) 5382 propagation |= MS_SLAVE; in mnt_to_propagation_flags()
|
| /linux-6.15/tools/testing/selftests/filesystems/mount-notify/ |
| H A D | mount-notify_test.c | 410 ret = mount("", "/b", NULL, MS_SLAVE, NULL); in TEST_F()
|