commit | aef553fdcabbea8760cd4647ab14859095300023 | [log] [tgz] |
---|---|---|
author | Peter Maydell <peter.maydell@linaro.org> | Fri May 16 14:00:03 2014 +0100 |
committer | Michael Tokarev <mjt@tls.msk.ru> | Sat May 24 00:07:29 2014 +0400 |
tree | 40849a5877bda3fdae17ab1f77a4d480514216b9 | |
parent | 78a4b8d2051bff8e8794e9419b7925122212b096 [diff] |
iohandler.c: Properly initialize sigaction struct The code in qemu_init_child_watch() wasn't clearing the 'struct sigaction' before passing it to sigaction(); this meant that we would block a random set of signals while executing the SIGCHLD handler. Initialize properly by using memset() on the struct, as we do in similar cases elsewhere. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>