Searched refs:MS_SHARED (Results 1 – 9 of 9) sorted by relevance
/Linux-v6.1/security/tomoyo/ |
D | mount.c | 210 } else if (flags & MS_SHARED) { in tomoyo_mount_permission() 214 flags &= ~MS_SHARED; in tomoyo_mount_permission() 216 if (flags & (MS_SHARED | MS_SLAVE | MS_UNBINDABLE)) in tomoyo_mount_permission() 221 if (flags & (MS_SHARED | MS_PRIVATE | MS_UNBINDABLE)) in tomoyo_mount_permission() 226 if (flags & (MS_SHARED | MS_PRIVATE | MS_SLAVE)) in tomoyo_mount_permission()
|
/Linux-v6.1/tools/testing/selftests/move_mount_set_group/ |
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-v6.1/tools/include/uapi/linux/ |
D | mount.h | 34 #define MS_SHARED (1<<20) /* change to shared */ macro
|
/Linux-v6.1/include/uapi/linux/ |
D | mount.h | 34 #define MS_SHARED (1<<20) /* change to shared */ macro
|
/Linux-v6.1/tools/testing/selftests/mount_setattr/ |
D | mount_setattr_test.c | 80 #ifndef MS_SHARED 81 #define MS_SHARED (1 << 20) macro 353 .propagation = MS_SHARED, in mount_setattr_thread() 614 attr.propagation = MS_SHARED; in TEST_F() 678 .propagation = MS_SHARED, in TEST_F()
|
/Linux-v6.1/security/apparmor/ |
D | mount.c | 68 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()
|
D | lsm.c | 576 else if (flags & (MS_SHARED | MS_PRIVATE | MS_SLAVE | in apparmor_sb_mount()
|
/Linux-v6.1/fs/ |
D | pnode.c | 124 if (type == MS_SHARED) { in change_mnt_propagation()
|
D | namespace.c | 2349 if (type & ~(MS_SHARED | MS_PRIVATE | MS_SLAVE | MS_UNBINDABLE)) in flags_to_propagation_type() 2376 if (type == MS_SHARED) { in do_change_type() 3365 if (flags & (MS_SHARED | MS_PRIVATE | MS_SLAVE | MS_UNBINDABLE)) in path_mount() 3610 (MS_UNBINDABLE | MS_PRIVATE | MS_SLAVE | MS_SHARED) 4145 if (kattr->propagation == MS_SHARED) { in do_mount_setattr()
|