Commit aa589a13 authored by Richard Guy Briggs's avatar Richard Guy Briggs Committed by Eric Paris

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: default avatarRichard Guy Briggs <rgb@redhat.com>
parent 5a3cb3b6
...@@ -2051,7 +2051,7 @@ static void audit_log_set_loginuid(kuid_t koldloginuid, kuid_t kloginuid, ...@@ -2051,7 +2051,7 @@ static void audit_log_set_loginuid(kuid_t koldloginuid, kuid_t kloginuid,
if (!ab) if (!ab)
return; return;
audit_log_format(ab, "pid=%d uid=%u" 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", " res=%d",
task_pid_nr(current), uid, task_pid_nr(current), uid,
oldloginuid, loginuid, oldsessionid, sessionid, oldloginuid, loginuid, oldsessionid, sessionid,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment