git: 79f19b07438b - stable/15 - audit: handle AUE_PDWAIT

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Sun, 01 Feb 2026 21:40:57 UTC
The branch stable/15 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=79f19b07438b7ee3d4b4cc91fa1a85a4db1a22d5

commit 79f19b07438b7ee3d4b4cc91fa1a85a4db1a22d5
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-01-08 07:57:12 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-02-01 21:38:49 +0000

    audit: handle AUE_PDWAIT
    
    (cherry picked from commit a560abedfb4f9626d5193c235822fbf7b1e7b390)
---
 sys/security/audit/audit_bsm.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/sys/security/audit/audit_bsm.c b/sys/security/audit/audit_bsm.c
index 0b6802f3194f..6cd96ebe092f 100644
--- a/sys/security/audit/audit_bsm.c
+++ b/sys/security/audit/audit_bsm.c
@@ -1115,6 +1115,16 @@ kaudit_to_bsm(struct kaudit_record *kar, struct au_record **pau)
 		}
 		break;
 
+	case AUE_PDWAIT:
+		if (ARG_IS_VALID(kar, ARG_FFLAGS)) {
+			tok = au_to_arg32(1, "flags", ar->ar_arg_fflags);
+			kau_write(rec, tok);
+		}
+		if (ARG_IS_VALID(kar, ARG_FD)) {
+			tok = au_to_arg32(1, "fd", ar->ar_arg_fd);
+			kau_write(rec, tok);
+		}
+
 	case AUE_IOCTL:
 		if (ARG_IS_VALID(kar, ARG_CMD)) {
 			tok = au_to_arg32(2, "cmd", ar->ar_arg_cmd);