Skip to content

Commit 34c111f

Browse files
eparisxjamesmorris
authored andcommitted
IMA: drop the word integrity in the audit message
integrity_audit_msg() uses "integrity:" in the audit message. This violates the (loosely defined) audit system requirements that everything be a key=value pair and it doesn't provide additional information. This can be obviously gleaned from the message type. Just drop it. Signed-off-by: Eric Paris <eparis@redhat.com> Acked-by: Mimi Zohar <zohar@us.ibm.com> Signed-off-by: James Morris <jmorris@namei.org>
1 parent 2f1506c commit 34c111f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎security/integrity/ima/ima_audit.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ void integrity_audit_msg(int audit_msgno, struct inode *inode,
4040
return;
4141

4242
ab = audit_log_start(current->audit_context, GFP_KERNEL, audit_msgno);
43-
audit_log_format(ab, "integrity: pid=%d uid=%u auid=%u ses=%u",
43+
audit_log_format(ab, "pid=%d uid=%u auid=%u ses=%u",
4444
current->pid, current_cred()->uid,
4545
audit_get_loginuid(current),
4646
audit_get_sessionid(current));

0 commit comments

Comments
 (0)