summaryrefslogtreecommitdiffstats
path: root/linux-user/strace.list
diff options
context:
space:
mode:
authorPeter Maydell2014-08-09 16:42:32 +0200
committerRiku Voipio2014-08-22 14:06:33 +0200
commitc065976f2bca9b87bc699c5fdeb4d3ff1299b8c4 (patch)
tree0abb0e875f975ca32836a16f6f718c72c6af731c /linux-user/strace.list
parentlinux-user: Fix syscall instruction usermode emulation on X86_64 (diff)
downloadqemu-c065976f2bca9b87bc699c5fdeb4d3ff1299b8c4.tar.gz
qemu-c065976f2bca9b87bc699c5fdeb4d3ff1299b8c4.tar.xz
qemu-c065976f2bca9b87bc699c5fdeb4d3ff1299b8c4.zip
linux-user: Fix conversion of sigevent argument to timer_create
There were a number of bugs in the conversion of the sigevent argument to timer_create from target to host format: * signal number not converted from target to host * thread ID not copied across * sigev_value not copied across * we never unlocked the struct when we were done Between them, these problems meant that SIGEV_THREAD_ID timers (and the glibc-implemented SIGEV_THREAD timers which depend on them) didn't work. Fix these problems and clean up the code a little by pulling the struct conversion out into its own function, in line with how we convert various other structs. This allows the test program in bug LP:1042388 to run. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'linux-user/strace.list')
0 files changed, 0 insertions, 0 deletions