From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:33151) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TbC6P-00026J-FT for qemu-devel@nongnu.org; Wed, 21 Nov 2012 10:20:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TbC6J-0005AX-Ld for qemu-devel@nongnu.org; Wed, 21 Nov 2012 10:20:37 -0500 Received: from cantor2.suse.de ([195.135.220.15]:60188 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TbC6J-0005AT-FG for qemu-devel@nongnu.org; Wed, 21 Nov 2012 10:20:31 -0500 Message-ID: <50ACF13B.8060509@suse.de> Date: Wed, 21 Nov 2012 16:20:27 +0100 From: =?ISO-8859-15?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <1352749698-1219-1-git-send-email-otubo@linux.vnet.ibm.com> <1352749698-1219-2-git-send-email-otubo@linux.vnet.ibm.com> In-Reply-To: <1352749698-1219-2-git-send-email-otubo@linux.vnet.ibm.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCHv3 2/5] seccomp: setting "-sandbox on" as deafult List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eduardo Otubo Cc: pmoore@redhat.com, coreyb@linux.vnet.ibm.com, qemu-devel@nongnu.org Am 12.11.2012 20:48, schrieb Eduardo Otubo: > Now the seccomp filter will be set to "on" even if no argument > "-sandbox" is given. >=20 > v3: * Introduced seccomp_states enum and new functions named > seccomp_set_state() and seccomp_get_state() > (pbonzini@redhat.com). > * Merged seccomp_start() and install_seccomp_filter(), > moved install_seccomp_filter() to qemu-seccomp.c, > and renamed it. > * Moved CONFIG_SECCOMP pre-processor checks from Makefile.objs > to qemu-seccomp.c. > * Replace qerror_report with fprintf(stderr, "..") in main() > (lcapitulino@redhat.com). >=20 > Note: This support requires libseccomp. If you don't have access > to libseccomp packages, you can manually build with the following > steps: >=20 > 1) git clone git://git.code.sf.net/p/libseccomp/libseccomp > 2) cd libseccomp > 3) ./configure > 4) make > 5) make install > 6) export PKG_CONFIG_PATH=3D"/usr/local/lib/pkgconfig/" To my understanding libseccomp specifically filters Linux syscalls, no? Are you positive that building and enabling this by default works with mingw32, bsd, darwin, etc. and makes sense? Regards, Andreas --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746 AG N=FCrnbe= rg