summaryrefslogtreecommitdiffstats
path: root/kernel/security/integrity/ima/ima_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/security/integrity/ima/ima_main.c')
-rw-r--r--kernel/security/integrity/ima/ima_main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/security/integrity/ima/ima_main.c b/kernel/security/integrity/ima/ima_main.c
index eeee00dce..c21f09bf8 100644
--- a/kernel/security/integrity/ima/ima_main.c
+++ b/kernel/security/integrity/ima/ima_main.c
@@ -106,9 +106,10 @@ static void ima_rdwr_violation_check(struct file *file,
*pathname = ima_d_path(&file->f_path, pathbuf);
if (send_tomtou)
- ima_add_violation(file, *pathname, "invalid_pcr", "ToMToU");
+ ima_add_violation(file, *pathname, iint,
+ "invalid_pcr", "ToMToU");
if (send_writers)
- ima_add_violation(file, *pathname,
+ ima_add_violation(file, *pathname, iint,
"invalid_pcr", "open_writers");
}