On Sun, 9 Jan 2022 at 16:57, Warner Losh <imp@bsdimp.com> wrote:
>
> Process the currently queued signals.
>
> Signed-off-by: Stacey Son <sson@FreeBSD.org>
> Signed-off-by: Kyle Evans <kevans@freebsd.org>
> Signed-off-by: Warner Losh <imp@bsdimp.com>
> ---
> bsd-user/signal.c | 34 ++++++++++++++++++++++++++++++++++
> 1 file changed, 34 insertions(+)
>
> diff --git a/bsd-user/signal.c b/bsd-user/signal.c
> index c954d0f4f37..1dd6dbb4ee1 100644
> --- a/bsd-user/signal.c
> +++ b/bsd-user/signal.c
> @@ -781,6 +781,40 @@ static void handle_pending_signal(CPUArchState *cpu_env, int sig,
>
> void process_pending_signals(CPUArchState *cpu_env)
I won't review this, because I favour using the logic that
linux-user does here.
I've rewritten it to use that, I believe (I'll check that belief before v2), so likely a good call.
Warner