diff options
| author | Peter Maydell | 2016-05-27 16:52:01 +0200 |
|---|---|---|
| committer | Riku Voipio | 2016-06-08 09:13:32 +0200 |
| commit | 90c0f080fe6fdd8b18691e6e38c853c8a996ad92 (patch) | |
| tree | fce163681e31359da308ce8954af72d8322b2d7c /linux-user/host/x86_64 | |
| parent | linux-user: Use both si_code and si_signo when converting siginfo_t (diff) | |
| download | qemu-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
