git: 6253212608b4 - main - Add pdrfork to OpenBSM
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 26 Jan 2026 21:03:58 UTC
The branch main has been updated by asomers:
URL: https://cgit.FreeBSD.org/src/commit/?id=6253212608b4f513b1e298f11a630d9d0596560d
commit 6253212608b4f513b1e298f11a630d9d0596560d
Author: Alan Somers <asomers@FreeBSD.org>
AuthorDate: 2026-01-26 19:10:50 +0000
Commit: Alan Somers <asomers@FreeBSD.org>
CommitDate: 2026-01-26 21:03:47 +0000
Add pdrfork to OpenBSM
It's necessary for auditd to be able to log its events. Note that the
recently added pdwait() syscall is only auditable because an audit event
of that name was preemptively added back in 2012.
PR: 292739
MFC after: 1 week
Fixes: 5c2ee618d5e "sys: add pdrfork(2)"
Sponsored by: ConnectWise
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D54897
---
contrib/openbsm/etc/audit_event | 1 +
contrib/openbsm/sys/bsm/audit_kevents.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/contrib/openbsm/etc/audit_event b/contrib/openbsm/etc/audit_event
index 31b4adc221a6..65090a787a56 100644
--- a/contrib/openbsm/etc/audit_event
+++ b/contrib/openbsm/etc/audit_event
@@ -613,6 +613,7 @@
43263:AUE_SHMRENAME:shm_rename(2):ip
43264:AUE_REALPATHAT:realpathat(2):fa
43265:AUE_CLOSERANGE:close_range(2):cl
+43273:AUE_PDRFORK:pdrfork(2):pc
#
# Solaris userspace events.
#
diff --git a/contrib/openbsm/sys/bsm/audit_kevents.h b/contrib/openbsm/sys/bsm/audit_kevents.h
index ec51f501e3a7..4e56e0b98db2 100644
--- a/contrib/openbsm/sys/bsm/audit_kevents.h
+++ b/contrib/openbsm/sys/bsm/audit_kevents.h
@@ -655,6 +655,7 @@
#define AUE_SHMRENAME 43263 /* FreeBSD-specific. */
#define AUE_REALPATHAT 43264 /* FreeBSD-specific. */
#define AUE_CLOSERANGE 43265 /* FreeBSD-specific. */
+#define AUE_PDRFORK 43273 /* FreeBSD-specific. */
/*
* Darwin BSM uses a number of AUE_O_* definitions, which are aliased to the