From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59617) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dsWQg-0006aG-DN for qemu-devel@nongnu.org; Thu, 14 Sep 2017 11:51:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dsWQc-0003Aj-HL for qemu-devel@nongnu.org; Thu, 14 Sep 2017 11:51:50 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42438) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dsWQc-00039G-Aq for qemu-devel@nongnu.org; Thu, 14 Sep 2017 11:51:46 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 52EC7883AC for ; Thu, 14 Sep 2017 15:51:45 +0000 (UTC) Date: Thu, 14 Sep 2017 16:51:37 +0100 From: "Daniel P. Berrange" Message-ID: <20170914155137.GF11763@redhat.com> Reply-To: "Daniel P. Berrange" References: <20170908114407.25906-1-otubo@redhat.com> <20170908114407.25906-5-otubo@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20170908114407.25906-5-otubo@redhat.com> Subject: Re: [Qemu-devel] [PATCHv6 4/5] seccomp: add spawn argument to command line List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eduardo Otubo Cc: qemu-devel@nongnu.org, thuth@redhat.com On Fri, Sep 08, 2017 at 01:44:06PM +0200, Eduardo Otubo wrote: > This patch adds [,spawn=deny] argument to `-sandbox on' option. It > blacklists fork and execve system calls, avoiding Qemu to spawn new > threads or processes. > > Signed-off-by: Eduardo Otubo > --- > include/sysemu/seccomp.h | 1 + > qemu-options.hx | 9 +++++++-- > qemu-seccomp.c | 4 ++++ > vl.c | 16 ++++++++++++++++ > 4 files changed, 28 insertions(+), 2 deletions(-) Reviewed-by: Daniel P. Berrange Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|