| Date | Thu, 7 Dec 2017 09:24:23 +0100 | From | Borislav Petkov <> | Subject | Re: [patch 41/60] x86/mm/kpti: Share entry text PMD |
| |
On Mon, Dec 04, 2017 at 03:07:47PM +0100, Thomas Gleixner wrote: > From: Thomas Gleixner <tglx@linutronix.de> > > Share the entry text PMD of the kernel mapping with the user space > mapping. If large pages are enabled this is a single PMD entry and at the > point where it is copied into the user page table the RW bit has not been > cleared yet. Clear it right away so the user space visible map becomes RX. > > Signed-off-by: Thomas Gleixner <tglx@linutronix.de> > --- > arch/x86/mm/kpti.c | 10 ++++++++++ > 1 file changed, 10 insertions(+)
Reviewed-by: Borislav Petkov <bp@suse.de>
-- Regards/Gruss, Boris.
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) --
|