mbox series

[0/2] Provide matching audit timestamp in the SELinux AVC trace event

Message ID 20221219175449.1657640-1-omosnace@redhat.com (mailing list archive)
Headers show
Series Provide matching audit timestamp in the SELinux AVC trace event | expand

Message

Ondrej Mosnacek Dec. 19, 2022, 5:54 p.m. UTC
This series allows to match the SELinux AVC trace events to the
corresponding audit events via the audit event timestamp. This
will help with troubleshooting SELinux denials.

Ondrej Mosnacek (2):
  audit: introduce a struct to represent an audit timestamp
  selinux: provide matching audit timestamp in the AVC trace event

 include/linux/audit.h      | 13 +++++++++++++
 include/trace/events/avc.h | 25 +++++++++++++++++--------
 kernel/audit.c             | 23 +++++++++++++++--------
 kernel/audit.h             |  4 ++--
 kernel/auditsc.c           |  9 ++++-----
 security/selinux/avc.c     |  4 +++-
 6 files changed, 54 insertions(+), 24 deletions(-)