All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/2] selinux: add detailed tracepoint on audited events
@ 2020-08-21 14:08 Thiébaud Weksteen
  2020-08-21 14:08 ` [PATCH v4 1/2] selinux: add " Thiébaud Weksteen
  2020-08-21 14:08 ` [PATCH v4 2/2] selinux: add basic filtering for audit trace events Thiébaud Weksteen
  0 siblings, 2 replies; 8+ messages in thread
From: Thiébaud Weksteen @ 2020-08-21 14:08 UTC (permalink / raw)
  To: Paul Moore
  Cc: Nick Kralevich, Thiébaud Weksteen, Stephen Smalley,
	Eric Paris, Steven Rostedt, Ingo Molnar, Mauro Carvalho Chehab,
	David S. Miller, Rob Herring, linux-kernel, selinux

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

-- 
2.28.0.297.g1956fa8f8d-goog


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-08-24  8:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-21 14:08 [PATCH v4 0/2] selinux: add detailed tracepoint on audited events Thiébaud Weksteen
2020-08-21 14:08 ` [PATCH v4 1/2] selinux: add " Thiébaud Weksteen
2020-08-21 15:33   ` Stephen Smalley
2020-08-21 21:08   ` Paul Moore
2020-08-24  8:01     ` Thiébaud Weksteen
2020-08-21 14:08 ` [PATCH v4 2/2] selinux: add basic filtering for audit trace events Thiébaud Weksteen
2020-08-21 15:35   ` Stephen Smalley
2020-08-21 21:09   ` Paul Moore

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.