| /linux/security/tomoyo/ |
| H A D | mount.c | 212 } else if (flags & MS_SHARED) { in tomoyo_mount_permission() 216 flags &= ~MS_SHARED; in tomoyo_mount_permission() 218 if (flags & (MS_SHARED | MS_SLAVE | MS_UNBINDABLE)) in tomoyo_mount_permission() 223 if (flags & (MS_SHARED | MS_PRIVATE | MS_UNBINDABLE)) in tomoyo_mount_permission() 228 if (flags & (MS_SHARED | MS_PRIVATE | MS_SLAVE)) in tomoyo_mount_permission()
|
| /linux/tools/testing/selftests/move_mount_set_group/ |
| H A D | move_mount_set_group_test.c | 28 #ifndef MS_SHARED 29 #define MS_SHARED (1 << 20) macro 218 if (mount(NULL, SET_GROUP_FROM, NULL, MS_SHARED, 0)) in move_mount_set_group_supported() 319 ret = mount(NULL, SET_GROUP_A, NULL, MS_SHARED, 0); in get_nestedns_mount_cb()
|
| /linux/samples/vfs/ |
| H A D | samples-vfs.h | 245 #ifndef MS_SHARED 246 #define MS_SHARED (1<<20) /* change to shared */ macro
|
| H A D | mountinfo.c | 104 if (sm->mnt_propagation & MS_SHARED) in show_propagation()
|
| /linux/include/uapi/linux/ |
| H A D | mount.h | 34 #define MS_SHARED (1<<20) /* change to shared */ macro
|
| /linux/tools/include/uapi/linux/ |
| H A D | mount.h | 34 #define MS_SHARED (1<<20) /* change to shared */ macro
|
| /linux/tools/perf/trace/beauty/include/uapi/linux/ |
| H A D | mount.h | 34 #define MS_SHARED (1<<20) /* change to shared */ macro
|
| /linux/tools/testing/selftests/mount_setattr/ |
| H A D | mount_setattr_test.c | 82 #ifndef MS_SHARED 83 #define MS_SHARED (1 << 20) macro 337 .propagation = MS_SHARED, in mount_setattr_thread() 602 attr.propagation = MS_SHARED; in TEST_F() 666 .propagation = MS_SHARED, in TEST_F() 2091 ASSERT_EQ(mount(NULL, "/mnt", NULL, MS_REC | MS_SHARED, NULL), 0); in TEST_F()
|
| /linux/tools/testing/selftests/filesystems/mount-notify/ |
| H A D | mount-notify_test.c | 243 ret = mount("", "/", NULL, MS_SHARED, NULL); in setup_mount_tree() 381 ret = mount("", "/a", NULL, MS_SHARED, NULL); in TEST_F()
|
| H A D | mount-notify_test_ns.c | 270 ret = mount("", "/", NULL, MS_SHARED, NULL); in setup_mount_tree() 408 ret = mount("", "/a", NULL, MS_SHARED, NULL); in TEST_F()
|
| /linux/security/apparmor/ |
| H A D | mount.c | 70 if (flags & MS_SHARED) 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/fs/ |
| H A D | pnode.c | 97 if (type == MS_SHARED) { 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() 2884 if (type == MS_SHARED) { in do_change_type() 4154 if (flags & (MS_SHARED | MS_PRIVATE | MS_SLAVE | MS_UNBINDABLE)) in path_mount() 4380 (MS_UNBINDABLE | MS_PRIVATE | MS_SLAVE | MS_SHARED) 4910 if (kattr->propagation == MS_SHARED) { in do_mount_setattr() 5246 propagation |= MS_SHARED; in mnt_to_propagation_flags()
|
| /linux/tools/testing/selftests/filesystems/statmount/ |
| H A D | statmount_test.c | 200 ret = mount("", "/", NULL, MS_REC|MS_SHARED, NULL); in setup_mount_tree()
|