projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46690f3
)
integrity: ima audit hash_exists fix
author
Mimi Zohar
<zohar@linux.vnet.ibm.com>
Fri, 26 Jun 2009 15:25:00 +0000
(11:25 -0400)
committer
James Morris
<jmorris@namei.org>
Sun, 28 Jun 2009 22:57:49 +0000
(08:57 +1000)
Audit the file name, not the template name.
Signed-off-by: Mimi Zohar <zohar@us.ibm.com>
Signed-off-by: James Morris <jmorris@namei.org>
security/integrity/ima/ima_queue.c
patch
|
blob
|
blame
|
history
diff --git
a/security/integrity/ima/ima_queue.c
b/security/integrity/ima/ima_queue.c
index 7ec94314ac0ca28126b7c051d8663bbd1319f9de..a0880e9c8e054695c757818b7991b2c37daf38ab 100644
(file)
--- a/
security/integrity/ima/ima_queue.c
+++ b/
security/integrity/ima/ima_queue.c
@@
-134,7
+134,8
@@
int ima_add_template_entry(struct ima_template_entry *entry, int violation,
}
out:
mutex_unlock(&ima_extend_list_mutex);
- integrity_audit_msg(AUDIT_INTEGRITY_PCR, inode, entry->template_name,
+ integrity_audit_msg(AUDIT_INTEGRITY_PCR, inode,
+ entry->template.file_name,
op, audit_cause, result, audit_info);
return result;
}