Re: [Qemu-devel] [PATCH] fstatat size mismatch

2012-02-10 Thread Andreas Färber
A "linux-user: " prefix for the subject would be nice, but let's wait for other comments first. Am 09.02.2012 20:05, schrieb Paul Brook: > host_to_target_stat64 is used for both stat64 and newfstatat syscalls. > In the latter case we don't actually have a struct stat64. > The current TARGET_ABI_BI

[Qemu-devel] [PATCH] fstatat size mismatch

2012-02-09 Thread Paul Brook
host_to_target_stat64 is used for both stat64 and newfstatat syscalls. In the latter case we don't actually have a struct stat64. The current TARGET_ABI_BITS test is wrong for some 64-bit ILP32 targets (in particular MIPS N32). Check for TARGET_NR_newfstatat instead. This will all break horribly