diff options
author | Oleg Nesterov <oleg@tv-sign.ru> | 2008-04-30 09:53:05 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-30 17:29:37 +0200 |
commit | 80fe728d593e3a048a56610de932919f7d6d968a (patch) | |
tree | ff8effec1d05d871bcbb1347947d2a0970a8ff32 /fs/eventpoll.c | |
parent | signals: de_thread: simplify the ->child_reaper switching (diff) | |
download | linux-80fe728d593e3a048a56610de932919f7d6d968a.tar.xz linux-80fe728d593e3a048a56610de932919f7d6d968a.zip |
signals: allow the kernel to actually kill /sbin/init
Currently the buggy /sbin/init hangs if SIGSEGV/etc happens. The kernel sends
the signal, init dequeues it and ignores, returns from the exception, repeats
the faulting instruction, and so on forever.
Imho, such a behaviour is not good. I think that the explicit loud death of
the buggy /sbin/init is better than the silent hang.
Change force_sig_info() to clear SIGNAL_UNKILLABLE when the task should be
really killed.
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/eventpoll.c')
0 files changed, 0 insertions, 0 deletions