The branch stable/14 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=17d87881a363c160e7e8cdb252d0261214c1a50b
commit 17d87881a363c160e7e8cdb252d0261214c1a50b Author: John-Mark Gurney <j...@freebsd.org> AuthorDate: 2025-08-18 20:25:37 +0000 Commit: Mark Johnston <ma...@freebsd.org> CommitDate: 2025-08-25 15:19:47 +0000 arm64: prevent panic when using syscall mux + large arg call (mmap) if the syscall muxes are used, up to two additional arguments may be required. This means that the 8 required for mmap increases up to 10 (for __syscall). Sponsored by: Juniper Networks, Inc. (cherry picked from commit 740b879c6ade531adebeba7cd2f261bbe650797f) --- sys/arm64/arm64/elf32_machdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/arm64/arm64/elf32_machdep.c b/sys/arm64/arm64/elf32_machdep.c index de0ee9607ad1..5f35d01f9ac0 100644 --- a/sys/arm64/arm64/elf32_machdep.c +++ b/sys/arm64/arm64/elf32_machdep.c @@ -193,7 +193,7 @@ freebsd32_fetch_syscall_args(struct thread *td) register_t *ap; struct syscall_args *sa; int error, i, nap, narg; - unsigned int args[4]; + unsigned int args[6]; nap = 4; p = td->td_proc;