Re: [PATCH v5] signal: trace_signal_deliver when signal_group_exit

2019-04-29 Thread Oleg Nesterov
On 04/25, Zhenliang Wei wrote: > > Reviewed-by: Oleg Nesterov Yes, everything looks good to me > Cc: > Fixes: cf43a757fd4944 ("signal: Restore the stop PTRACE_EVENT_EXIT") > > Signed-off-by: Zhenliang Wei > --- > kernel/signal.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git

Re: [PATCH v5] signal: trace_signal_deliver when signal_group_exit

2019-04-25 Thread Christian Brauner
On Thu, Apr 25, 2019 at 10:58:12AM +0800, Zhenliang Wei wrote: > In the fixes commit, removing SIGKILL from each thread signal mask > and executing "goto fatal" directly will skip the call to > "trace_signal_deliver". At this point, the delivery tracking of the SIGKILL > signal will be inaccurate.

[PATCH v5] signal: trace_signal_deliver when signal_group_exit

2019-04-24 Thread Zhenliang Wei
In the fixes commit, removing SIGKILL from each thread signal mask and executing "goto fatal" directly will skip the call to "trace_signal_deliver". At this point, the delivery tracking of the SIGKILL signal will be inaccurate. Therefore, we need to add trace_signal_deliver before "goto fatal"