Re: [PATCH V3] exit: trigger panic when global init has exited

From: Oleg Nesterov
Date: Mon Mar 22 2021 - 13:08:52 EST


On 03/22, qianli zhao wrote:
>
> Moving the decrement position should only affect between new and old
> code position of movement of the decrement of
> signal->live.

Why do you think so? It can affect _any_ code which runs under
"if (group_dead)". Again, I don't see anything wrong, but I didn't even
try to audit these code paths.

Oleg.