aboutsummaryrefslogtreecommitdiff
path: root/sys/arm64/include/_bus.h
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2026-11-04 15:32:33 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2026-11-04 15:32:33 +0000
commitb18489dd60980e51093f196299eb8c38b12daa20 (patch)
tree86e65810e6b81d1342d5871fa421de580ba0d4a6 /sys/arm64/include/_bus.h
parent173268f3d5ede5f55a25f684d4c8c4c43749fde7 (diff)
auditd: Support logging directly to syslogHEADmain
Every tenth call to auditwarnlog(), check that the audit_warn(5) script exists and is executable by us. If it is, execute it as previously; otherwise, fall back to calling syslog(3) directly. Additionally, if we choose to use the script and fail, also log the original message to syslogd, not just the fact that we failed to log. We could record the result of trying to execute the script, but that would require pausing while it runs (or at least until the execve(2) call has completed). Retesting every tenth call is a little clunky but avoids having to restart or signal auditd(8) to force it to notice a change in availability, or adding a command-line option and / or modifying the audit_control(5) syntax to let the user express a preference. MFC after: 1 week Sponsored by: Klara, Inc. Sponsored by: Qualys, Inc. Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D60172
Diffstat (limited to 'sys/arm64/include/_bus.h')
0 files changed, 0 insertions, 0 deletions