Skip to content

Commit 740b879

Browse files
committed
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.
1 parent 5be78cc commit 740b879

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sys/arm64/arm64/elf32_machdep.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ freebsd32_fetch_syscall_args(struct thread *td)
195195
register_t *ap;
196196
struct syscall_args *sa;
197197
int error, i, nap, narg;
198-
unsigned int args[4];
198+
unsigned int args[6];
199199

200200
nap = 4;
201201
p = td->td_proc;

0 commit comments

Comments
 (0)