Re: [PATCH v3] signal: trace_signal_deliver when signal_group_exit

From: Oleg Nesterov
Date: Mon Apr 22 2019 - 11:25:28 EST


On 04/22, Zhenliang Wei wrote:
>
> --- a/kernel/signal.c
> +++ b/kernel/signal.c
> @@ -2441,6 +2441,7 @@ bool get_signal(struct ksignal *ksig)
> if (signal_group_exit(signal)) {
> ksig->info.si_signo = signr = SIGKILL;
> sigdelset(&current->pending.signal, SIGKILL);
> + trace_signal_deliver(SIGKILL, SEND_SIG_NOINFO, SIG_DFL);
> recalc_sigpending();
> goto fatal;
> }

Reviewed-by: Oleg Nesterov <oleg@xxxxxxxxxx>