diff options
| author | Raghuram Subramani <raghus2247@gmail.com> | 2023-11-27 15:00:51 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-27 15:00:51 +0530 |
| commit | 64f9ca5834a1640a10a0e696191210d76b4d7208 (patch) | |
| tree | 0be483b86472eaf1c74f747ecbaf6300f3998a1a /security/selinux/hooks.c | |
| parent | 5e65b69cac6b0440ee123a8b61eb9b44dd5fd2de (diff) | |
| parent | cc57cb4ee3b7918b74d30604735d353b9a5fa23b (diff) | |
Merge branch 'LineageOS:lineage-20' into master
Diffstat (limited to 'security/selinux/hooks.c')
| -rw-r--r-- | security/selinux/hooks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index b967dcadcb4d..3d24f86b423f 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c @@ -2774,7 +2774,7 @@ static int selinux_sb_kern_mount(struct super_block *sb, int flags, void *data) return rc; /* Allow all mounts performed by the kernel */ - if (flags & MS_KERNMOUNT) + if (flags & (MS_KERNMOUNT | MS_SUBMOUNT)) return 0; ad.type = LSM_AUDIT_DATA_DENTRY; |
