aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--security/integrity/ima/ima.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/integrity/ima/ima.h b/security/integrity/ima/ima.h
index 000d13ab1a2d..f7af0110bcde 100644
--- a/security/integrity/ima/ima.h
+++ b/security/integrity/ima/ima.h
@@ -96,14 +96,14 @@ static inline unsigned long ima_hash_key(u8 *digest)
96} 96}
97 97
98/* iint cache flags */ 98/* iint cache flags */
99#define IMA_MEASURED 1 99#define IMA_MEASURED 0x01
100 100
101/* integrity data associated with an inode */ 101/* integrity data associated with an inode */
102struct ima_iint_cache { 102struct ima_iint_cache {
103 struct rb_node rb_node; /* rooted in ima_iint_tree */ 103 struct rb_node rb_node; /* rooted in ima_iint_tree */
104 struct inode *inode; /* back pointer to inode in question */ 104 struct inode *inode; /* back pointer to inode in question */
105 u64 version; /* track inode changes */ 105 u64 version; /* track inode changes */
106 unsigned long flags; 106 unsigned char flags;
107 u8 digest[IMA_DIGEST_SIZE]; 107 u8 digest[IMA_DIGEST_SIZE];
108 struct mutex mutex; /* protects: version, flags, digest */ 108 struct mutex mutex; /* protects: version, flags, digest */
109 unsigned int readcount; /* measured files readcount */ 109 unsigned int readcount; /* measured files readcount */