aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2010-04-20 10:21:36 -0400
committerJames Morris <jmorris@namei.org>2010-04-20 19:58:18 -0400
commit34c111f626e91adb23f90a91d2c7cd4dac9fa4b1 (patch)
tree3ca16731ab7e9b6cc1848dd28852503506dd97e1 /security
parent2f1506cd82e0725ba00c7146a9a9b47824a5edcf (diff)
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>
Diffstat (limited to 'security')
-rw-r--r--security/integrity/ima/ima_audit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/integrity/ima/ima_audit.c b/security/integrity/ima/ima_audit.c
index ff513ff737f5..fcb1f714cfcd 100644
--- a/security/integrity/ima/ima_audit.c
+++ b/security/integrity/ima/ima_audit.c
@@ -40,7 +40,7 @@ void integrity_audit_msg(int audit_msgno, struct inode *inode,
40 return; 40 return;
41 41
42 ab = audit_log_start(current->audit_context, GFP_KERNEL, audit_msgno); 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 current->pid, current_cred()->uid, 44 current->pid, current_cred()->uid,
45 audit_get_loginuid(current), 45 audit_get_loginuid(current),
46 audit_get_sessionid(current)); 46 audit_get_sessionid(current));