summaryrefslogtreecommitdiff
path: root/kernel/auditsc.c
diff options
context:
space:
mode:
authorRichard Guy Briggs <rgb@redhat.com>2014-02-24 12:31:11 -0500
committerEric Paris <eparis@redhat.com>2014-03-20 10:11:57 -0400
commitaa589a13b5d00d3c643ee4114d8cbc3addb4e99f (patch)
treebd5e8f80d0a9d6bc2f2e0a5a58f9dfda8a121a0b /kernel/auditsc.c
parent5a3cb3b6c3a07904bb66baf055b2eaf01198b1f9 (diff)
audit: remove superfluous new- prefix in AUDIT_LOGIN messages
The new- prefix on ses and auid are un-necessary and break ausearch. Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Diffstat (limited to 'kernel/auditsc.c')
-rw-r--r--kernel/auditsc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/auditsc.c b/kernel/auditsc.c
index 6381f25ac3d4..61ac3cf53f1d 100644
--- a/kernel/auditsc.c
+++ b/kernel/auditsc.c
@@ -2051,7 +2051,7 @@ static void audit_log_set_loginuid(kuid_t koldloginuid, kuid_t kloginuid,
if (!ab)
return;
audit_log_format(ab, "pid=%d uid=%u"
- " old-auid=%u new-auid=%u old-ses=%u new-ses=%u"
+ " old-auid=%u auid=%u old-ses=%u ses=%u"
" res=%d",
task_pid_nr(current), uid,
oldloginuid, loginuid, oldsessionid, sessionid,