summaryrefslogtreecommitdiff
path: root/target-lm32
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2014-03-02 19:36:42 +0000
committerRiku Voipio <riku.voipio@linaro.org>2014-03-03 23:08:09 +0200
commitf19e00d776b781bfb0067b9b20a592440fd2990e (patch)
tree5fdc95d88771c397087907a1bcf0016c53b25494 /target-lm32
parent76ca310a19463e9883e2e55a88ac8be1fc171eea (diff)
downloadqemu-f19e00d776b781bfb0067b9b20a592440fd2990e.tar.gz
linux-user: Implement sendmmsg syscall
Glibc when built for newer kernels assumes that the sendmmsg syscall is available. Without it, dns resolution simply fails to work. Wrap the syscall with existing infrastructure so that we don't have a host dependency on sendmmsg. To avoid locking the same area of guest memory twice (which will break if DEBUG_REMAP is defined) we pull the lock/unlock part of do_sendrecvmsg() out into its own function so the actual implementation can be shared. Signed-off-by: Alexander Graf <agraf@suse.de> [PMM: add recvmmsg support; handle errors (which also implies support for non-blocking operations); cap the vector length as the kernel implementation does; don't lock guest memory twice; support MSG_WAITFORONE flag] Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Riku Voipio <riku.voipio@linaro.org> Reviewed-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-lm32')
0 files changed, 0 insertions, 0 deletions