diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2021-04-22 16:02:23 -0700 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2021-05-18 07:10:32 +0200 |
commit | 02fb28e8effe5090ded4d36ea1c947a615099c26 (patch) | |
tree | 1b7d0312a0b3f09b487a22a1c706b7169cee225b /linux-user/syscall_defs.h | |
parent | f20a9ca6d09796a50e850bd105ba03aa96918e5f (diff) |
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>
Diffstat (limited to 'linux-user/syscall_defs.h')
-rw-r--r-- | linux-user/syscall_defs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h index 693d4f3788..e4aaf8412f 100644 --- a/linux-user/syscall_defs.h +++ b/linux-user/syscall_defs.h @@ -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" |