+14
−4
Loading
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>