linux/arch/um/os-Linux
Richard Weinberger 91d44ff860 um: Cleanup SIGTERM handling
Richard reported that some UML processes survive if the UML
main process receives a SIGTERM.
This issue was caused by a wrongly placed signal(SIGTERM, SIG_DFL)
in init_new_thread_signals().
It disabled the UML exit handler accidently for some processes.
The correct solution is to disable the fatal handler for all
UML helper threads/processes.
Such that last_ditch_exit() does not get called multiple times
and all processes can exit due to SIGTERM.

Reported-and-tested-by: Richard W.M. Jones <rjones@redhat.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
2013-09-07 10:56:58 +02:00
..
drivers um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
skas um: siginfo cleanup 2013-07-19 11:31:36 +02:00
aio.c um: Cleanup SIGTERM handling 2013-09-07 10:56:58 +02:00
elf_aux.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
execvp.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
file.c um: ubd: Add REQ_FLUSH suppport 2013-09-07 10:56:49 +02:00
helper.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
internal.h um: pass siginfo to guest process 2012-08-02 00:49:17 +02:00
irq.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
main.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
Makefile um: use the right ifdef around exports in user_syms.c 2012-03-25 00:29:55 +01:00
mem.c uml: Fix which_tmpdir failure when /dev/shm is a symlink, and in other edge cases 2013-07-19 10:45:18 +02:00
process.c um: Cleanup SIGTERM handling 2013-09-07 10:56:58 +02:00
registers.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
sigio.c um: Cleanup SIGTERM handling 2013-09-07 10:56:58 +02:00
signal.c um: siginfo cleanup 2013-07-19 11:31:36 +02:00
start_up.c um: add missing declaration of 'getrlimit()' and friends 2013-03-11 10:08:03 +01:00
time.c nohz: Rename CONFIG_NO_HZ to CONFIG_NO_HZ_COMMON 2013-04-03 13:56:03 +02:00
tty.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
umid.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
user_syms.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
util.c um: Cleanup SIGTERM handling 2013-09-07 10:56:58 +02:00