diff options
author | Timothy E Baldwin | 2016-09-09 20:35:58 +0200 |
---|---|---|
committer | Riku Voipio | 2016-09-21 21:17:02 +0200 |
commit | 45eafb4d32ced9ff1dcb3800c89f8beaf47b61cc (patch) | |
tree | ff0e7ef92529043bb2e2186eabcd15e7c9481bb1 /hw/timer | |
parent | linux-user: Sanity check clone flags (diff) | |
download | qemu-45eafb4d32ced9ff1dcb3800c89f8beaf47b61cc.tar.gz qemu-45eafb4d32ced9ff1dcb3800c89f8beaf47b61cc.tar.xz qemu-45eafb4d32ced9ff1dcb3800c89f8beaf47b61cc.zip |
linux-user: Fix incorrect offset of tuc_stack in ARM do_sigframe_return_v2
struct target_ucontext_v2 is not at the begining of the signal frame,
therefore do_sigaltstack was being passed bogus arguments.
As the offset depends on the type of signal frame fixed by passing in the
beginning of the context from do_sigreturn_v2 and do_rt_sigreturn_v2.
Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Timothy Edward Baldwin <T.E.Baldwin99@members.leeds.ac.uk>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'hw/timer')
0 files changed, 0 insertions, 0 deletions