From: James Hogan <james.hogan@imgtec.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: Andrew Jones <drjones@redhat.com>,
Aurelien Jarno <aurelien@aurel32.net>,
QEMU Developers <qemu-devel@nongnu.org>,
Eduardo Otubo <eduardo.otubo@profitbricks.com>
Subject: Re: [Qemu-devel] [PATCH 1/2] seccomp: Whitelist cacheflush since 2.2.0 not 2.2.3
Date: Fri, 8 Apr 2016 14:00:11 +0100 [thread overview]
Message-ID: <20160408130011.GB26761@jhogan-linux.le.imgtec.org> (raw)
In-Reply-To: <CAFEAcA-UuzEceG9e4sXGNTKCxhj_TTUD6DwaS_BYJyTzhPha5w@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1209 bytes --]
On Fri, Apr 08, 2016 at 01:49:44PM +0100, Peter Maydell wrote:
> On 8 April 2016 at 13:39, Andrew Jones <drjones@redhat.com> 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.
>
> 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.
> */
>
> ? (or feel free to reword if you have a better idea).
Sure, I'll do a v2.
Cheers
James
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2016-04-08 13:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-04 8:29 [Qemu-devel] [PATCH 0/2] Enable seccomp on MIPS James Hogan
2016-04-04 8:29 ` [Qemu-devel] [PATCH 1/2] seccomp: Whitelist cacheflush since 2.2.0 not 2.2.3 James Hogan
2016-04-08 11:45 ` Andrew Jones
2016-04-08 11:54 ` Peter Maydell
2016-04-08 12:39 ` Andrew Jones
2016-04-08 12:49 ` Peter Maydell
2016-04-08 13:00 ` James Hogan [this message]
2016-04-04 8:29 ` [Qemu-devel] [PATCH 2/2] configure: Enable seccomp sandbox for MIPS James Hogan
2016-04-08 11:49 ` Andrew Jones
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160408130011.GB26761@jhogan-linux.le.imgtec.org \
--to=james.hogan@imgtec.com \
--cc=aurelien@aurel32.net \
--cc=drjones@redhat.com \
--cc=eduardo.otubo@profitbricks.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).