diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index 142921fc4e2f..f88707d711d9 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c @@ -998,6 +998,7 @@ static int selinux_set_mnt_opts(struct super_block *sb, if (!strcmp(sb->s_type->name, "debugfs") || !strcmp(sb->s_type->name, "tracefs") || !strcmp(sb->s_type->name, "sysfs") || + !strcmp(sb->s_type->name, "bpf") || !strcmp(sb->s_type->name, "pstore")) sbsec->flags |= SE_SBGENFS;