12 Jun
2017
12 Jun
'17
12:16 p.m.
On Saturday, 10 June 2017 19:33:12 CEST Richard W.M. Jones wrote:
If SIGTERM is blocked in the main program, then it ends up still being blocked in the subprocess after we fork. This means that we cannot kill qemu by sending SIGTERM to it. This commit fixes the problem by unblocking SIGTERM unconditionally after fork.
Thanks: wtfuzz on IRC for reporting and analysis. ---
LGTM, although a macro/function to avoid copy&pasting the same snippet 4 times would be better IMHO. Thanks, -- Pino Toscano