git: 88670f4c95e2 - stable/14 - kdump: Treat a flags argument of 0 to shmat as valid

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Fri, 09 Oct 2026 00:20:43 UTC
The branch stable/14 has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=88670f4c95e20e64d72a7d52a32830930f36be55

commit 88670f4c95e20e64d72a7d52a32830930f36be55
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2026-07-27 18:09:03 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2026-10-08 18:35:31 +0000

    kdump: Treat a flags argument of 0 to shmat as valid
    
    Sponsored by:   AFRL, DARPA
    
    (cherry picked from commit c13a9982b56f873c7aa3374a69f6aa296a2d1968)
---
 usr.bin/kdump/kdump.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c
index 576b8c07787c..7c42c5adbfda 100644
--- a/usr.bin/kdump/kdump.c
+++ b/usr.bin/kdump/kdump.c
@@ -1320,7 +1320,7 @@ ktrsyscall_freebsd(struct ktr_syscall *ktr, register_t **resip,
 				print_number(ip, narg, c);
 				print_number(ip, narg, c);
 				putchar(',');
-				print_mask_arg(sysdecode_shmat_flags, *ip);
+				print_mask_arg0(sysdecode_shmat_flags, *ip);
 				ip++;
 				narg--;
 				break;