summaryrefslogtreecommitdiffstats
path: root/linux-user/host/x86_64
diff options
context:
space:
mode:
authorPeter Maydell2016-05-27 16:52:01 +0200
committerRiku Voipio2016-06-08 09:13:32 +0200
commit90c0f080fe6fdd8b18691e6e38c853c8a996ad92 (patch)
treefce163681e31359da308ce8954af72d8322b2d7c /linux-user/host/x86_64
parentlinux-user: Use both si_code and si_signo when converting siginfo_t (diff)
downloadqemu-90c0f080fe6fdd8b18691e6e38c853c8a996ad92.tar.gz
qemu-90c0f080fe6fdd8b18691e6e38c853c8a996ad92.tar.xz
qemu-90c0f080fe6fdd8b18691e6e38c853c8a996ad92.zip
linux-user: Avoid possible misalignment in target_to_host_siginfo()
Reimplement target_to_host_siginfo() to use __get_user(), which handles possibly misaligned source guest structures correctly. Reviewed-by: Laurent Vivier <laurent@vivier.eu> Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'linux-user/host/x86_64')
0 files changed, 0 insertions, 0 deletions