git: a319427b5a05 - stable/15 - kdump: Treat a flags argument of 0 to shmat as valid
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 08 Oct 2026 20:43:55 UTC
The branch stable/15 has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=a319427b5a059caed77907a177fd8d7bf0f58f66
commit a319427b5a059caed77907a177fd8d7bf0f58f66
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2026-07-27 18:09:03 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2026-10-08 20:42: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 75bee040a92c..398478c2d86c 100644
--- a/usr.bin/kdump/kdump.c
+++ b/usr.bin/kdump/kdump.c
@@ -1305,7 +1305,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;