Commit 79b854c5 authored by Mimi Zohar's avatar Mimi Zohar Committed by James Morris
Browse files

integrity: ima audit hash_exists fix

Audit the file name, not the template name.
Signed-off-by: default avatarMimi Zohar <>
Signed-off-by: default avatarJames Morris <>
parent 46690f37
......@@ -134,7 +134,8 @@ int ima_add_template_entry(struct ima_template_entry *entry, int violation,
integrity_audit_msg(AUDIT_INTEGRITY_PCR, inode, entry->template_name,
integrity_audit_msg(AUDIT_INTEGRITY_PCR, inode,
op, audit_cause, result, audit_info);
return result;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment