diff options
author | Stacey Son <sson@FreeBSD.org> | 2023-09-25 21:24:00 +0300 |
---|---|---|
committer | Warner Losh <imp@bsdimp.com> | 2023-10-03 17:14:06 -0600 |
commit | 3f254cf203e7bebc3758058802f834d9ba6ca3dc (patch) | |
tree | 14432c66892269899da04dffd7a93e57802cd1e4 /bsd-user/signal-common.h | |
parent | d314ae93f1724fa2f5e9636aa6483acf9fa7505f (diff) |
bsd-user: Implement host_to_target_siginfo.
Used in wait6 system call
Signed-off-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Warner Losh <imp@bsdimp.com>
Message-Id: <20230925182425.3163-4-kariem.taha2.7@gmail.com>
Diffstat (limited to 'bsd-user/signal-common.h')
-rw-r--r-- | bsd-user/signal-common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bsd-user/signal-common.h b/bsd-user/signal-common.h index c044e81165..77d7c7a78b 100644 --- a/bsd-user/signal-common.h +++ b/bsd-user/signal-common.h @@ -35,6 +35,7 @@ int do_sigaction(int sig, const struct target_sigaction *act, abi_long do_sigaltstack(abi_ulong uss_addr, abi_ulong uoss_addr, abi_ulong sp); long do_sigreturn(CPUArchState *env, abi_ulong addr); void force_sig_fault(int sig, int code, abi_ulong addr); +void host_to_target_siginfo(target_siginfo_t *tinfo, const siginfo_t *info); int host_to_target_signal(int sig); void host_to_target_sigset(target_sigset_t *d, const sigset_t *s); void process_pending_signals(CPUArchState *env); |