Searched refs:MS_SHARED (Results 1 – 10 of 10) sorted by relevance
/openbmc/linux/security/tomoyo/ |
H A 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()
|
/openbmc/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()
|
/openbmc/linux/include/uapi/linux/ |
H A D | mount.h | 34 #define MS_SHARED (1<<20) /* change to shared */ macro
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | mount.h | 34 #define MS_SHARED (1<<20) /* change to shared */ macro
|
/openbmc/linux/tools/testing/selftests/mount_setattr/ |
H A D | mount_setattr_test.c | 81 #ifndef MS_SHARED 82 #define MS_SHARED (1 << 20) macro 347 .propagation = MS_SHARED, in mount_setattr_thread() 608 attr.propagation = MS_SHARED; in TEST_F() 672 .propagation = MS_SHARED, in TEST_F()
|
/openbmc/linux/security/apparmor/ |
H A 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()
|
H A D | lsm.c | 605 else if (flags & (MS_SHARED | MS_PRIVATE | MS_SLAVE | in apparmor_sb_mount()
|
/openbmc/linux/fs/ |
H A D | pnode.c | 124 if (type == MS_SHARED) { in change_mnt_propagation()
|
H A D | namespace.c | 2532 if (type & ~(MS_SHARED | MS_PRIVATE | MS_SLAVE | MS_UNBINDABLE)) in flags_to_propagation_type() 2559 if (type == MS_SHARED) { in do_change_type() 3676 if (flags & (MS_SHARED | MS_PRIVATE | MS_SLAVE | MS_UNBINDABLE)) in path_mount() 3922 (MS_UNBINDABLE | MS_PRIVATE | MS_SLAVE | MS_SHARED) 4462 if (kattr->propagation == MS_SHARED) { in do_mount_setattr()
|
/openbmc/u-boot/fs/ubifs/ |
H A D | ubifs.h | 495 #define MS_SHARED (1<<20) /* change to shared */ macro
|