Skip to content

selinux: add detailed tracepoint on audited events

Thiébaud Weksteen lkml selinux 2 versions – Applied

Status from this message: Merged into selinux/next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 5 repliesApplied
  2. v33 patches 18 repliesSuperseded

Changes in v4 from the cover letter

================
- Remove patch to include decoded permissions.
- Remove extra braces in patch 2.

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/2selinux: add tracepoint on audited eventsMAINTAINERS include/trace/events/avc.h security/selinux/avc.c+43 -03 replies
2/2selinux: add basic filtering for audit trace eventsinclude/trace/events/avc.h security/selinux/avc.c+41 -232 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchPeter EnderborgThiébaud WeksteenStephen Smalley
1/2R-b A-b
2/2R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

Cover letter [PATCH v4 0/2] selinux: add detailed tracepoint on audited events

The audit data currently captures which process and which target is responsible for a denial. There is no data on where exactly in the process that call occurred. Debugging can be made easier by adding a trace point when an event is audited.

This series of patch defines this new trace point and extra attributes to easily match the tracepoint event with the audit event. It is also possible to filter the events based on these attributes.

Changes since v3
================
- Remove patch to include decoded permissions.
- Remove extra braces in patch 2.

Changes since v2
================
- Add patch to include decoded permissions.
- Remove ssid and tsid from attributes list.
- Update commit log with more context.

Peter Enderborg (1):
selinux: add basic filtering for audit trace events

Thiébaud Weksteen (1):
selinux: add tracepoint on audited events

 MAINTAINERS                |  1 +
 include/trace/events/avc.h | 53 ++++++++++++++++++++++++++++++++++++++
 security/selinux/avc.c     | 29 +++++++++++++--------
 3 files changed, 72 insertions(+), 11 deletions(-)
 create mode 100644 include/trace/events/avc.h
Signature · 1 line
2.28.0.297.g1956fa8f8d-goog