OSDN Git Service

Merge tag 'v4.0.8' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux...
[android-x86/kernel.git] / security / selinux / hooks.c
index 104bbc4..9029a54 100644 (file)
@@ -404,6 +404,7 @@ static int selinux_is_sblabel_mnt(struct super_block *sb)
        return sbsec->behavior == SECURITY_FS_USE_XATTR ||
                sbsec->behavior == SECURITY_FS_USE_TRANS ||
                sbsec->behavior == SECURITY_FS_USE_TASK ||
+               sbsec->behavior == SECURITY_FS_USE_NATIVE ||
                /* Special handling. Genfs but also in-core setxattr handler */
                !strcmp(sb->s_type->name, "sysfs") ||
                !strcmp(sb->s_type->name, "pstore") ||