Received: from eggs.gnu.org ([2001:4830:134:3::10]:48960) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WlZTz-0006lc-2m for qemu-devel@nongnu.org; Sat, 17 May 2014 03:56:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WlZTs-00067h-Up for qemu-devel@nongnu.org; Sat, 17 May 2014 03:56:39 -0400 Message-ID: <5377162F.5060209@msgid.tls.msk.ru> Date: Sat, 17 May 2014 11:56:31 +0400 From: Michael Tokarev MIME-Version: 1.0 References: <1400245203-32005-1-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1400245203-32005-1-git-send-email-peter.maydell@linaro.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Qemu-trivial] [PATCH] iohandler.c: Properly initialize sigaction struct List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, patches@linaro.org 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