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>
This commit is contained in:
Richard Guy Briggs 2014-02-24 12:31:11 -05:00 коммит произвёл Eric Paris
Родитель 5a3cb3b6c3
Коммит aa589a13b5
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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,