Re: [Qemu-devel] [PATCH 2/3] linux-user: fixed getsockopt() optlen

2014-01-12 Thread Peter Maydell
On 11 January 2014 09:34, wrote: > From: Pavel Zbitskiy > > optlen parameter of getsockopt() of type socklen_t* was read into > variable of type socklen_t, that caused zeroing out of upper 4 bytes > when running s390x on top of x86_64. This patch changes optlen type > to abi_ulong. This patch a

[Qemu-devel] [PATCH 2/3] linux-user: fixed getsockopt() optlen

2014-01-11 Thread pavel . zbitskiy
From: Pavel Zbitskiy optlen parameter of getsockopt() of type socklen_t* was read into variable of type socklen_t, that caused zeroing out of upper 4 bytes when running s390x on top of x86_64. This patch changes optlen type to abi_ulong. Signed-off-by: Pavel Zbitskiy --- linux-user/syscall.c |