This patchset fixes various bugs in the handling of the fadvise syscalls. In particular, handling of these syscalls for 32-bit guests was completely broken because we weren't doing the correct thing with 64-bit arguments split into two 32-bit registers.
It applies on top of the latest "linux-user: fix various signal race conditions" patchset I sent out last week, but there's no dependency, so other than possible textual conflicts it ought to apply against master as well. thanks -- PMM Peter Maydell (3): linux-user: Fix handling of arm_fadvise64_64 syscall linux-user: Fix NR_fadvise64 and NR_fadvise64_64 for 32-bit guests linux-user: Fix error conversion in 64-bit fadvise syscall linux-user/syscall.c | 66 +++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 53 insertions(+), 13 deletions(-) -- 1.9.1