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: <20180302073638.muyzw7ei2oc2yoyb@node.shutemov.name>
Date:   Fri, 2 Mar 2018 10:36:38 +0300
From:   "Kirill A. Shutemov" <kirill@...temov.name>
To:     Baoquan He <bhe@...hat.com>
Cc:     linux-kernel@...r.kernel.org, mingo@...nel.org, tglx@...utronix.de,
        kirill.shutemov@...ux.intel.com, hpa@...or.com, dyoung@...hat.com,
        x86@...nel.org, ebiederm@...ssion.com, douly.fnst@...fujitsu.com,
        vgoyal@...hat.com
Subject: Re: [PATCH] kdump, vmcoreinfo: Export value to tell if 5-level is
 enabled

On Fri, Mar 02, 2018 at 01:18:01PM +0800, Baoquan He wrote:
> Userspace utility needs to know if the corrupted kernel is in
> 5-level paging mode. So write 'pgtable_l5_enabled' to vmcoreinfo.
> It covers below three cases:
>   pgtable_l5_enabled == 0 when
>   Compile kernel with CONFIG_X86_5LEVEL=n
>   Compile with CONFIG_X86_5LEVEL=y while cpu has no 'la57' flag
> 
>   pgtable_l5_enabled != 0 when
>   Compile with CONFIG_X86_5LEVEL=y and cpu has 'la57' flag
> 
> Signed-off-by: Baoquan He <bhe@...hat.com>

Acked-by: Kirill A. Shutemov <kirill.shutemov@...ux.intel.com>

-- 
 Kirill A. Shutemov

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ