diff options
| author | Konstantin Belousov <kib@FreeBSD.org> | 2026-09-27 20:29:51 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2026-11-20 15:10:26 +0000 |
| commit | 3dac77482537ddca19d2ee49fe4a4741f00f9fb0 (patch) | |
| tree | 704f1f464deaff90f7bb40080a01df667268e1c5 | |
| parent | 06ec6146b0a7f24a3657b0d4c46eb5e87533bc91 (diff) | |
sys: add AUE_CHALTROOT and AUE_FCHALTROOT
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D60035
| -rw-r--r-- | sys/bsm/audit_kevents.h | 2 | ||||
| -rw-r--r-- | sys/security/audit/audit_bsm.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/bsm/audit_kevents.h b/sys/bsm/audit_kevents.h index e06168584a44..65d54d992294 100644 --- a/sys/bsm/audit_kevents.h +++ b/sys/bsm/audit_kevents.h @@ -668,6 +668,8 @@ #define AUE_PDRFORK 43273 /* FreeBSD-specific. */ #define AUE_PDOPENPID 43274 /* FreeBSD-specific. */ #define AUE_PDPTRACE 43275 /* FreeBSD-specific. */ +#define AUE_CHALTROOT 43276 /* FreeBSD-specific. */ +#define AUE_FCHALTROOT 43277 /* FreeBSD-specific. */ #define AUE_SESSION_START 44901 /* Darwin. */ #define AUE_SESSION_UPDATE 44902 /* Darwin. */ diff --git a/sys/security/audit/audit_bsm.c b/sys/security/audit/audit_bsm.c index 8873eb877234..b6eb906122bb 100644 --- a/sys/security/audit/audit_bsm.c +++ b/sys/security/audit/audit_bsm.c @@ -826,8 +826,10 @@ kaudit_to_bsm(struct kaudit_record *kar, struct au_record **pau) break; case AUE_JAIL_SET: + case AUE_CHALTROOT: case AUE_CHDIR: case AUE_CHROOT: + case AUE_FCHALTROOT: case AUE_FSTATAT: case AUE_FUTIMESAT: case AUE_GETATTRLIST: |
