diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index 86470a7b7e17925f8b2d37f11a4649146a37f78e..43f834799bc176942e0c08cc922357ca3098328f 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c @@ -706,6 +706,7 @@ static int selinux_set_mnt_opts(struct super_block *sb, !strcmp(sb->s_type->name, "tracefs") || !strcmp(sb->s_type->name, "binder") || !strcmp(sb->s_type->name, "bpf") || + !strcmp(sb->s_type->name, "sharefs") || !strcmp(sb->s_type->name, "pstore")) sbsec->flags |= SE_SBGENFS;