Arm syscall bug
PATCH 1/1 Arm syscall bug
The arm-user syscall emulation always passes zero for the 6th syscall argument. This breaks the mmap2 syscall, and possibly others.
Patch below fixes this.
Paul
Index: linux-user/main.c
===================================================================
RCS file: /cvsroot/qemu/qemu/linux-user/main.c,v
retrieving revision 1.63
main.c +1 -1
@@ -373,7 +376,7 @@ void cpu_loop(CPUARMState *env) env->regs[2 ], env->regs[3 ], env->regs[4 ], - 0); + env->regs[5]); }else { goto error; }