git: 3dac77482537 - main - sys: add AUE_CHALTROOT and AUE_FCHALTROOT
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 20 Nov 2026 15:10:46 UTC
The branch main has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=3dac77482537ddca19d2ee49fe4a4741f00f9fb0
commit 3dac77482537ddca19d2ee49fe4a4741f00f9fb0
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-09-27 20:29:51 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-11-20 15:10:26 +0000
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
---
sys/bsm/audit_kevents.h | 2 ++
sys/security/audit/audit_bsm.c | 2 ++
2 files changed, 4 insertions(+)
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: