audit: minimize our use of audit_log_format()
authorPaul Moore <paul@paul-moore.com>
Thu, 2 Aug 2018 21:56:50 +0000 (17:56 -0400)
committerPaul Moore <paul@paul-moore.com>
Mon, 26 Nov 2018 23:40:00 +0000 (18:40 -0500)
commitd0a3f18a70f2d9700bf9f5e9c4a505472388a7c1
treeb316add3dac38538bff1756da5d4c8c4f2fd2950
parentc8fc5d49c341805fee7fc295f2ea8a709f78aec4
audit: minimize our use of audit_log_format()

There are some cases where we are making multiple audit_log_format()
calls in a row, for no apparent reason.  Squash these down to a
single audit_log_format() call whenever possible.

Acked-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
kernel/audit.c
kernel/audit_fsnotify.c
kernel/audit_tree.c
kernel/audit_watch.c
kernel/auditsc.c