Re: [PATCH] kernel/signal.c: Export symbol __lock_task_sighand

From: Oleg Nesterov
Date: Mon Jun 22 2020 - 07:31:53 EST


On 06/22, Dominique Martinet wrote:
>
> What about the possibility of sighand being null that the function does
> check, is that impossible for current as well?

It is only possible if "current" has already exited and passed exit_notify(),
iow if it is already a zombie and can be (auto)reaped.

Oleg.