]> git.proxmox.com Git - mirror_qemu.git/commit
linux-user: fixed recvfrom() addrlen
authorPavel Zbitskiy <pavel.zbitskiy@gmail.com>
Sat, 11 Jan 2014 09:34:11 +0000 (13:34 +0400)
committerMichael Tokarev <mjt@tls.msk.ru>
Wed, 15 Jan 2014 19:36:13 +0000 (23:36 +0400)
commita39ca6a124267dcfc6bc5276fff9c4b02e5c2215
tree431f0680e873068ce7af7af35e25bf868c6300bf
parentfe54b24930f94bdfbc3d38eccd7adedf35f2f26f
linux-user: fixed recvfrom() addrlen

addrlen parameter of recvfrom() 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 addrlen type
to abi_ulong.

Signed-off-by: Pavel Zbitskiy <pavel.zbitskiy@gmail.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
linux-user/syscall.c