Signals to cinit
oleg at redhat.com
Mon Nov 10 10:00:30 PST 2008
On 11/10, Oleg Nesterov wrote:
> This way at least SIGKILL
> always works.
Forgot to mention...
We must also change sig_ignored() to drop SIGKILL/SIGSTOP early when
it comes from the same ns. Otherwise, it can mask the next SIGKILL
from the parent ns.
But this perhaps makes sense anyway, even without containers.
Currently, when the global init has the pending SIGKILL, we can't
trust __wait_event_killable/etc, and this is actually wrong.
More information about the Containers