b/security/integrity/evm/evm_crypto.c
@@ -139,15 +139,18 @@ static struct shash_desc *init_desc(char type,
uint8_t hash_algo)
* (Additional directory/file metadata needs to be added for more complete
* protection.)
*/
-static void hmac_add_misc(struct shash_desc *desc, struct inode *inode,
+static int hmac_add_misc(struct shash_desc *desc, struct inode *inode,
char type, char *digest)
{
+ int rc = 0;
struct h_misc {
unsigned long ino;
__u32 generation;
uid_t uid;
gid_t gid;
umode_t mode;
+ __u32 filesize;
+ __u32 flags;
} hmac_misc;