audit: fix dangling keywords in audit_log_set_loginuid() output
authorRichard Guy Briggs <rgb@redhat.com>
Wed, 11 Dec 2013 20:28:09 +0000 (15:28 -0500)
committerEric Paris <eparis@redhat.com>
Tue, 14 Jan 2014 03:32:38 +0000 (22:32 -0500)
commit5ee9a75c9fdaebd3ac8176f9f5c73fdcd27c1ad1
treeae7bcc782a86d2e5a1bb17461194756a086cdae7
parent724e4fcc8d80c63c7e56873b41987533db2a04c2
audit: fix dangling keywords in audit_log_set_loginuid() output

Remove spaces between "new", "old" label modifiers and "auid", "ses" labels in
log output since userspace tools can't parse orphaned keywords.

Make variable names more consistent and intuitive.

Make audit_log_format() argument code easier to read.

Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
kernel/auditsc.c