lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGXu5j+xgZoDktKyYEtOcH7XGDRzH2_=gDs5Zj9rXx0817Tbew@mail.gmail.com>
Date:   Tue, 31 Oct 2017 16:35:43 -0700
From:   Kees Cook <keescook@...gle.com>
To:     Dave Hansen <dave.hansen@...ux.intel.com>
Cc:     LKML <linux-kernel@...r.kernel.org>, Linux-MM <linux-mm@...ck.org>,
        moritz.lipp@...k.tugraz.at, daniel.gruss@...k.tugraz.at,
        michael.schwarz@...k.tugraz.at, Andy Lutomirski <luto@...nel.org>,
        Linus Torvalds <torvalds@...ux-foundation.org>,
        Hugh Dickins <hughd@...gle.com>, x86@...nel.org
Subject: Re: [PATCH 08/23] x86, kaiser: only populate shadow page tables for userspace

On Tue, Oct 31, 2017 at 3:32 PM, Dave Hansen
<dave.hansen@...ux.intel.com> 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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ