audit: loginuid functions coding style
authorEric Paris <eparis@redhat.com>
Fri, 24 May 2013 12:58:31 +0000 (08:58 -0400)
committerEric Paris <eparis@redhat.com>
Tue, 5 Nov 2013 16:07:56 +0000 (11:07 -0500)
commitda0a610497ce193782c8df4a33fee7fce030cb99
tree50b95cf99337206b02eb367415f76e43f87af3a3
parentb805b198dc74b73aabb6969a3db734c71c05c88c
audit: loginuid functions coding style

This is just a code rework.  It makes things more readable.  It does not
make any functional changes.

It does change the log messages to include both the old session id as
well the new and it includes a new res field, which means we get
messages even when the user did not have permission to change the
loginuid.

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