aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Somers <asomers@FreeBSD.org>2026-01-26 19:10:50 +0000
committerAlan Somers <asomers@FreeBSD.org>2026-01-26 21:03:47 +0000
commit6253212608b4f513b1e298f11a630d9d0596560d (patch)
treea3ad16098ad19645eddbbec8d171b9ebeb2c9425
parentfb4b0c91195195561560bb2fb2c1ba8da81f7ccf (diff)
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
-rw-r--r--contrib/openbsm/etc/audit_event1
-rw-r--r--contrib/openbsm/sys/bsm/audit_kevents.h1
2 files changed, 2 insertions, 0 deletions
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