From: Richard Weinberger Date: Sun, 18 Aug 2013 11:30:08 +0000 (+0200) Subject: um: Cleanup SIGTERM handling X-Git-Tag: v3.12-rc1~94^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91d44ff860a9e9c0db81a89cbc24fa31fbd8e6d3;p=pandora-kernel.git 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 Signed-off-by: Richard Weinberger --- Reading git-diff-tree failed