[GIT PULL] audit/audit-pr-20240911

From: Paul Moore
Date: Thu Sep 12 2024 - 21:15:54 EST


Linus,

Two audit patches for the v6.12 merge window:

* Fix some remaining problems with PID/TGID reporting

When most users think about PIDs, what they are really thinking about is
the TGID. This commit shifts the audit PID logging and filtering to use
the TGID value which should provide a more meaningful audit stream and
filtering experience for users.

* Migrate to the str_enabled_disabled() helper

Evidently we have helper functions that help ensure if we mistype
"enabled" or "disabled" it is now caught at compile time. I guess we're
fancy now.

-Paul

--
The following changes since commit 8400291e289ee6b2bf9779ff1c83a291501f017b:

Linux 6.11-rc1 (2024-07-28 14:19:55 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit.git
tags/audit-pr-20240911

for you to fetch changes up to 8c1867a2f0fd4235b84da6b204519e830b551988:

audit: Make use of str_enabled_disabled() helper
(2024-09-03 16:35:16 -0400)

----------------------------------------------------------------
audit/stable-6.12 PR 20240911
----------------------------------------------------------------

Hongbo Li (1):
audit: Make use of str_enabled_disabled() helper

Ricardo Robaina (1):
audit: use task_tgid_nr() instead of task_pid_nr()

kernel/audit.c | 4 ++--
kernel/auditfilter.c | 2 +-
kernel/auditsc.c | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)

--
paul-moore.com