From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35968) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xmozm-0000GS-Ga for qemu-devel@nongnu.org; Fri, 07 Nov 2014 14:14:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xmozi-0004Ny-2d for qemu-devel@nongnu.org; Fri, 07 Nov 2014 14:14:54 -0500 Received: from mx1.redhat.com ([209.132.183.28]:48032) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xmozh-0004Mx-RF for qemu-devel@nongnu.org; Fri, 07 Nov 2014 14:14:50 -0500 From: Paul Moore Date: Fri, 07 Nov 2014 14:14:37 -0500 Message-ID: <1484103.1nZBOjL2e0@sifl> In-Reply-To: <1415351144-25383-1-git-send-email-eduardo.otubo@profitbricks.com> References: <1415351144-25383-1-git-send-email-eduardo.otubo@profitbricks.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [Qemu-devel] [PATCHv3] seccomp: change configure to avoid arm 32 to break List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eduardo Otubo Cc: peter.maydell@linaro.org, qemu-devel@nongnu.org, philipp.gesang@intra2net.com On Friday, November 07, 2014 10:05:44 AM Eduardo Otubo wrote: > Current stable version of libseccomp (2.1.1) only supports i386 and > x86_64 archs correctly. This patch limits the usage of the syscall > filter for those archs and updates to the correct last version of > libseccomp. > > This patch also fixes the bug: > https://bugs.launchpad.net/qemu/+bug/1363641 > > Signed-off-by: Eduardo Otubo > --- > configure | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) Thanks Eduardo, I'll let you know once I've cut a new release of libseccomp. Acked-by: Paul Moore > diff --git a/configure b/configure > index 2f17bf3..47048f0 100755 > --- a/configure > +++ b/configure > @@ -1823,7 +1823,8 @@ fi > # libseccomp check > > if test "$seccomp" != "no" ; then > - if $pkg_config --atleast-version=2.1.0 libseccomp; then > + if test "$cpu" = "i386" || test "$cpu" = "x86_64" && > + $pkg_config --atleast-version=2.1.1 libseccomp; then > libs_softmmu="$libs_softmmu `$pkg_config --libs libseccomp`" > QEMU_CFLAGS="$QEMU_CFLAGS `$pkg_config --cflags libseccomp`" > seccomp="yes" -- paul moore security and virtualization @ redhat