]> git.baikalelectronics.ru Git - kernel.git/commit
audit: use session_info helper
authorRichard Guy Briggs <rgb@redhat.com>
Fri, 16 Nov 2018 21:30:10 +0000 (16:30 -0500)
committerPaul Moore <paul@paul-moore.com>
Mon, 19 Nov 2018 17:31:42 +0000 (12:31 -0500)
commit631dc99d16662dbf2d6c30474a7fca10fe07890a
tree0892061d8793295861dc20485abf3699b5199f8a
parent1b911bf4c36170c70b40e400313243aaaae3a44b
audit: use session_info helper

There are still a couple of places (mark and watch config changes) that
open code auid and ses fields in sequence in records instead of using
the audit_log_session_info() helper.  Use the helper.  Adjust the helper
to accommodate being the first fields.  Passes audit-testsuite.

Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
[PM: fixed misspellings in the description]
Signed-off-by: Paul Moore <paul@paul-moore.com>
kernel/audit.c
kernel/audit_fsnotify.c
kernel/audit_watch.c