summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorLaurent Vivier2015-10-03 17:14:06 +0200
committerRiku Voipio2016-01-08 10:36:12 +0100
commit928bed6a057cedd6110e634865e021a24029785a (patch)
tree1d8993d71396c6af0146a97c5cd98e10ad37ce5a /include/exec
parentlinux-user: add signalfd/signalfd4 syscalls (diff)
downloadqemu-928bed6a057cedd6110e634865e021a24029785a.tar.gz
qemu-928bed6a057cedd6110e634865e021a24029785a.tar.xz
qemu-928bed6a057cedd6110e634865e021a24029785a.zip
linux-user: correctly align target_epoll_event
According to comments in /usr/include/linux/eventpoll.h, poll_event is packed only on x86_64. And to be sure fields are correctly aligned in epoll_data, use abi_XXX types for all of them. Moreover, fd type is wrong: fd is int, not ulong. This has been tested with a ppc guest on an x86_64 host: without this patch, systemd crashes (core). CC: Alexander Graf <agraf@suse.de> CC: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions