mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
linux-user: Pass ka_restorer to do_sigaction
The value of ka_restorer needs to be saved in sigact_table. At the moment, the attempt to save it in do_syscall is improperly clobbering user memory. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20210422230227.314751-4-richard.henderson@linaro.org> [lv: remove tab] Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
f20a9ca6d0
commit
02fb28e8ef
3 changed files with 11 additions and 15 deletions
|
@ -492,7 +492,7 @@ void target_to_host_old_sigset(sigset_t *sigset,
|
|||
const abi_ulong *old_sigset);
|
||||
struct target_sigaction;
|
||||
int do_sigaction(int sig, const struct target_sigaction *act,
|
||||
struct target_sigaction *oact);
|
||||
struct target_sigaction *oact, abi_ulong ka_restorer);
|
||||
|
||||
#include "target_signal.h"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue