From: Ingo Molnar <mingo@kernel.org>
To: Jan Beulich <JBeulich@suse.com>
Cc: mingo@elte.hu, tglx@linutronix.de,
Boris Ostrovsky <boris.ostrovsky@oracle.com>,
Juergen Gross <jgross@suse.com>,
linux-kernel@vger.kernel.org, hpa@zytor.com
Subject: Re: [PATCH RESEND] x86: consider effective protection attributes in W+X check
Date: Tue, 20 Feb 2018 09:32:11 +0100 [thread overview]
Message-ID: <20180220083211.s5wr5r7ocpzzizgp@gmail.com> (raw)
In-Reply-To: <5A8BE8C602000078001A9729@prv-mh.provo.novell.com>
* Jan Beulich <JBeulich@suse.com> wrote:
> >>> On 20.02.18 at 09:10, <mingo@kernel.org> wrote:
> > * Jan Beulich <JBeulich@suse.com> wrote:
> >> Using just the leaf page table entry flags would cause a false warning
> >> in case _PAGE_RW is clear or _PAGE_NX is set in a higher level entry.
> >
> > Under what circumstances did you see false positive warnings?
>
> As explained in the 2-patch series this was originally part of, there
> continues to be that W+X warning when running under Xen, as
> commit 2cc42bac1c ("x86-64/Xen: eliminate W+X mappings") has
> to make the necessary adjustment in L2 rather than L1 (the
> reason is explained there). I.e. _PAGE_RW is clear there in L1,
> but _PAGE_NX is set in L2.
This would make an excellent additional paragraph of the v2 changelog.
Thanks,
Ingo
next prev parent reply other threads:[~2018-02-20 8:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-20 7:41 Jan Beulich
2018-02-20 8:10 ` Ingo Molnar
2018-02-20 8:22 ` Jan Beulich
2018-02-20 8:32 ` Ingo Molnar [this message]
2018-02-20 8:37 ` Ingo Molnar
2018-02-20 8:43 ` Jan Beulich
2018-02-20 10:17 ` Ingo Molnar
2018-02-20 11:09 ` Jan Beulich
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=20180220083211.s5wr5r7ocpzzizgp@gmail.com \
--to=mingo@kernel.org \
--cc=JBeulich@suse.com \
--cc=boris.ostrovsky@oracle.com \
--cc=hpa@zytor.com \
--cc=jgross@suse.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=tglx@linutronix.de \
/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
Powered by JetHome