Re: [PATCH 08/23] x86, kaiser: only populate shadow page tables for userspace
From: Kees Cook
Date: Tue Oct 31 2017 - 19:36:03 EST
On Tue, Oct 31, 2017 at 3:32 PM, Dave Hansen
<dave.hansen@xxxxxxxxxxxxxxx> wrote:
> KAISER has two copies of the page tables: one for the kernel and
> one for when we are running in userspace. There is also a kernel
> portion of each of the page tables: the part that *maps* the
> kernel.
I wonder if it might make sense to update
arch/x86/mm/debug_pagetables.c to show the shadow table in some way?
Right now, only the "real" page tables are visible there.
-Kees
--
Kees Cook
Pixel Security