diff options
Diffstat (limited to 'security/selinux/hooks.c')
-rw-r--r-- | security/selinux/hooks.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index a5398fea0966..76af95fa741a 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c | |||
@@ -480,6 +480,8 @@ static int selinux_is_sblabel_mnt(struct super_block *sb) | |||
480 | sbsec->behavior == SECURITY_FS_USE_NATIVE || | 480 | sbsec->behavior == SECURITY_FS_USE_NATIVE || |
481 | /* Special handling. Genfs but also in-core setxattr handler */ | 481 | /* Special handling. Genfs but also in-core setxattr handler */ |
482 | !strcmp(sb->s_type->name, "sysfs") || | 482 | !strcmp(sb->s_type->name, "sysfs") || |
483 | !strcmp(sb->s_type->name, "cgroup") || | ||
484 | !strcmp(sb->s_type->name, "cgroup2") || | ||
483 | !strcmp(sb->s_type->name, "pstore") || | 485 | !strcmp(sb->s_type->name, "pstore") || |
484 | !strcmp(sb->s_type->name, "debugfs") || | 486 | !strcmp(sb->s_type->name, "debugfs") || |
485 | !strcmp(sb->s_type->name, "tracefs") || | 487 | !strcmp(sb->s_type->name, "tracefs") || |