|
@@ -813,6 +813,7 @@ static int selinux_set_mnt_opts(struct super_block *sb,
|
|
sbsec->flags |= SE_SBPROC | SE_SBGENFS;
|
|
sbsec->flags |= SE_SBPROC | SE_SBGENFS;
|
|
|
|
|
|
if (!strcmp(sb->s_type->name, "debugfs") ||
|
|
if (!strcmp(sb->s_type->name, "debugfs") ||
|
|
|
|
+ !strcmp(sb->s_type->name, "tracefs") ||
|
|
!strcmp(sb->s_type->name, "sysfs") ||
|
|
!strcmp(sb->s_type->name, "sysfs") ||
|
|
!strcmp(sb->s_type->name, "pstore"))
|
|
!strcmp(sb->s_type->name, "pstore"))
|
|
sbsec->flags |= SE_SBGENFS;
|
|
sbsec->flags |= SE_SBGENFS;
|