Merge tag 'please-pull-misc-4.8' of git://git.kernel.org/pub/scm/linux/kernel/git...
[cascardo/linux.git] / security / smack / smack.h
index 6c91156..26e58f1 100644 (file)
@@ -90,9 +90,15 @@ struct superblock_smack {
        struct smack_known      *smk_floor;
        struct smack_known      *smk_hat;
        struct smack_known      *smk_default;
-       int                     smk_initialized;
+       int                     smk_flags;
 };
 
+/*
+ * Superblock flags
+ */
+#define SMK_SB_INITIALIZED     0x01
+#define SMK_SB_UNTRUSTED       0x02
+
 struct socket_smack {
        struct smack_known      *smk_out;       /* outbound label */
        struct smack_known      *smk_in;        /* inbound label */