From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55737) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VOC97-0005nz-DY for qemu-devel@nongnu.org; Mon, 23 Sep 2013 15:50:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VOC8y-0002gT-Bj for qemu-devel@nongnu.org; Mon, 23 Sep 2013 15:50:13 -0400 Received: from e24smtp01.br.ibm.com ([32.104.18.85]:51052) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VOC8y-0002Tn-04 for qemu-devel@nongnu.org; Mon, 23 Sep 2013 15:50:04 -0400 Received: from /spool/local by e24smtp01.br.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 23 Sep 2013 16:49:58 -0300 Received: from d24relay01.br.ibm.com (d24relay01.br.ibm.com [9.8.31.16]) by d24dlp02.br.ibm.com (Postfix) with ESMTP id 1AD0D1DC006C for ; Mon, 23 Sep 2013 15:49:56 -0400 (EDT) Received: from d24av03.br.ibm.com (d24av03.br.ibm.com [9.8.31.95]) by d24relay01.br.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r8NJino03027096 for ; Mon, 23 Sep 2013 16:44:50 -0300 Received: from d24av03.br.ibm.com (localhost [127.0.0.1]) by d24av03.br.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id r8NJntfs003483 for ; Mon, 23 Sep 2013 16:49:55 -0300 Message-ID: <52409B63.8030402@linux.vnet.ibm.com> Date: Mon, 23 Sep 2013 16:49:55 -0300 From: Eduardo Otubo MIME-Version: 1.0 References: <1378297508-7242-1-git-send-email-otubo@linux.vnet.ibm.com> <1530529.70Yh7p4t0h@sifl> <7340934.mDL0umr9jt@sifl> In-Reply-To: <7340934.mDL0umr9jt@sifl> 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: Paul Moore Cc: coreyb@linux.vnet.ibm.com, qemu-devel@nongnu.org On 09/13/2013 11:45 AM, Paul Moore wrote: > On Wednesday, September 04, 2013 10:11:10 AM Paul Moore wrote: >> On Wednesday, September 04, 2013 09:25:08 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 >> >> Works for me. >> >> Tested-by: Paul Moore > > I fear this patch may have been lost in the maintainer discussion - can we > merge this fix please? Just another poke on this patch. Poor little bug https://bugzilla.redhat.com/show_bug.cgi?id=1004175 is waiting for a fix. Thanks. > >>> --- >>> >>> 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 }, > -- Eduardo Otubo IBM Linux Technology Center