Received: from eggs.gnu.org ([2001:4830:134:3::10]:49299) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoW1L-00080x-1k for qemu-devel@nongnu.org; Fri, 08 Apr 2016 09:00:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aoW1H-0004HU-SP for qemu-devel@nongnu.org; Fri, 08 Apr 2016 09:00:18 -0400 Received: from mailapp01.imgtec.com ([195.59.15.196]:52386 helo=imgpgp01.kl.imgtec.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoW1H-0004HN-Jp for qemu-devel@nongnu.org; Fri, 08 Apr 2016 09:00:15 -0400 Date: Fri, 8 Apr 2016 14:00:11 +0100 From: James Hogan Message-ID: <20160408130011.GB26761@jhogan-linux.le.imgtec.org> References: <1459758556-4557-1-git-send-email-james.hogan@imgtec.com> <1459758556-4557-2-git-send-email-james.hogan@imgtec.com> <20160408114521.ac3ah7rnr2zkhbqz@hawk.localdomain> <20160408123932.hy66ldmcfsrsqtez@hawk.localdomain> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="LpQ9ahxlCli8rRTG" Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH 1/2] seccomp: Whitelist cacheflush since 2.2.0 not 2.2.3 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Andrew Jones , Aurelien Jarno , QEMU Developers , Eduardo Otubo --LpQ9ahxlCli8rRTG Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 08, 2016 at 01:49:44PM +0100, Peter Maydell wrote: > On 8 April 2016 at 13:39, Andrew Jones wrote: > > In that message I was referring to arm/aarch64 (the only arch at the > > time that cared about cacheflush). 2.2.0 was the first version arm got > > any cacheflush support (same version as x86 an mips), but it was > > completely wrong until 2.2.1. Additional problems were then fixed for > > 2.2.3. x86 doesn't use cacheflush and mips didn't have any problems > > (I guess), so they've been fine since 2.2.0. > > > > As long as the configure script still requires a libseccomp_minver of > > 2.2.3 for arm/aarch64, then it doesn't matter if the HAVE_CACHEFLUSH > > minimum version in qemu-seccomp.c is relaxed for the other > > architectures that work. >=20 > OK. Could we have a comment, maybe something like: > /* For some architectures (notably ARM) cacheflush is not > * supported until libseccomp 2.2.3, but configure enforces that > * we are using a more recent version on those hosts, so it is OK > * for this check to be less strict. > */ >=20 > ? (or feel free to reword if you have a better idea). Sure, I'll do a v2. Cheers James --LpQ9ahxlCli8rRTG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXB6tbAAoJEGwLaZPeOHZ6HU4P/21bBk0ny+KGOzjzEb8Mtcou KUGZfPQMb9g6YOp40Py6OffOSNXz5Uc3VdU3UGIg+KihioO6pXstHeIAp2S6UUsm jkqMJQNZ36MoqLI15IfKVe7tXTgrlH6dKsZ0f30vLt5SqdpV04qQdIM181fP6FAi rpG/y6tMvUX3zPFOUcea0P4PkYAixoNdl7OaRW+BfIcJH8sNMKvmImgXhkFZAD1T petwLbN/3+0b4tOy8hWTsfly5G3j/QKoIyyCK9/FjLN2XrI827rpA27JFf44ZZXP cxxl8CfBJ4LnXB1eS2C7H0PSVUcifgbJlrR3OVNIubGn2lVuOgd69BL+BCpfYiqu auKRHg0Q/xjNKjpLgaY0n2N65JvOfUypuaJOF9Dr+1goY0ePpfLcRr6PsnUPUvgn crcRAqyKIvUu9j1pUtoIJQfb/k8Tt3SDpCKAQsbs+Nars++imXQCsR/FBQBs45QG ZMAMuIOnAN/92aBUc4ng1FaIwJ915Hr+ViB1p1UY+9CsxJyU1k7BtFdTyBfQo9sD qwOFVex+dA9tTESuy9iAOSA22CzhuVjY3FzZNzbXjrxHus2RZKXr59kmlYmQ5QZc 5HKRohSotiAhmpBGvJ/74xn229GAwDx26drRJWyOPOqxyB9giP5jN78/D1urz8rt tqUAHiuq+k1A4vrB2/Fg =hJPU -----END PGP SIGNATURE----- --LpQ9ahxlCli8rRTG--