From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56623) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHCsO-0004WG-Gj for qemu-devel@nongnu.org; Wed, 04 Sep 2013 09:12:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VHCsE-0002HF-Bo for qemu-devel@nongnu.org; Wed, 04 Sep 2013 09:12:04 -0400 Received: from e9.ny.us.ibm.com ([32.97.182.139]:39113) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHCsE-0002H9-7F for qemu-devel@nongnu.org; Wed, 04 Sep 2013 09:11:54 -0400 Received: from /spool/local by e9.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 4 Sep 2013 09:11:53 -0400 Received: from b01cxnp22036.gho.pok.ibm.com (b01cxnp22036.gho.pok.ibm.com [9.57.198.26]) by d01dlp01.pok.ibm.com (Postfix) with ESMTP id 6D63238C8047 for ; Wed, 4 Sep 2013 09:11:48 -0400 (EDT) Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by b01cxnp22036.gho.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r84DBlRv6225934 for ; Wed, 4 Sep 2013 13:11:47 GMT Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id r84DB0Lu004415 for ; Wed, 4 Sep 2013 09:11:01 -0400 Message-ID: <52273162.5020708@linux.vnet.ibm.com> Date: Wed, 04 Sep 2013 09:10:58 -0400 From: Corey Bryant MIME-Version: 1.0 References: <1378297508-7242-1-git-send-email-otubo@linux.vnet.ibm.com> In-Reply-To: <1378297508-7242-1-git-send-email-otubo@linux.vnet.ibm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] seccomp: adding times() to the whitelist List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eduardo Otubo Cc: pmoore@redhat.com, qemu-devel@nongnu.org On 09/04/2013 08:25 AM, Eduardo Otubo wrote: > This was causing Qemu process to hang when using -sandbox on. > > Related RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1004175 > > Signed-off-by: Eduardo Otubo > --- > qemu-seccomp.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/qemu-seccomp.c b/qemu-seccomp.c > index 37d38f8..69cee44 100644 > --- a/qemu-seccomp.c > +++ b/qemu-seccomp.c > @@ -90,6 +90,7 @@ static const struct QemuSeccompSyscall seccomp_whitelist[] = { > { SCMP_SYS(getuid), 245 }, > { SCMP_SYS(geteuid), 245 }, > { SCMP_SYS(timer_create), 245 }, > + { SCMP_SYS(times), 245 }, > { SCMP_SYS(exit), 245 }, > { SCMP_SYS(clock_gettime), 245 }, > { SCMP_SYS(time), 245 }, > Reviewed-by: Corey Bryant -- Regards, Corey Bryant