Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Eric Paris and committed by
James Morris
34c111f6 2f1506cd

+1 -1
+1 -1
security/integrity/ima/ima_audit.c
··· 40 40 return; 41 41 42 42 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", 44 44 current->pid, current_cred()->uid, 45 45 audit_get_loginuid(current), 46 46 audit_get_sessionid(current));