[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [Qemu-trivial] [PATCH] iohandler.c: Properly initialize
From: |
Michael Tokarev |
Subject: |
Re: [Qemu-devel] [Qemu-trivial] [PATCH] iohandler.c: Properly initialize sigaction struct |
Date: |
Sat, 17 May 2014 11:56:31 +0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.5.0 |
16.05.2014 17:00, Peter Maydell wrote:
> 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
Applied to -trivial, thank you!
/mjt