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]
Date:   Tue, 18 Oct 2016 12:17:43 -0500
From:   Josh Poimboeuf <jpoimboe@...hat.com>
To:     Thomas Gleixner <tglx@...utronix.de>,
        Ingo Molnar <mingo@...nel.org>,
        "H . Peter Anvin" <hpa@...or.com>
Cc:     x86@...nel.org, linux-kernel@...r.kernel.org,
        Andy Lutomirski <luto@...nel.org>,
        Linus Torvalds <torvalds@...ux-foundation.org>,
        Brian Gerst <brgerst@...il.com>,
        Peter Zijlstra <peterz@...radead.org>,
        Nilay Vaish <nilayvaish@...il.com>
Subject: Re: [PATCH v2 0/9] x86/entry/head: standardize the end of the stack

On Wed, Sep 21, 2016 at 04:03:58PM -0500, Josh Poimboeuf wrote:
> v2:
> - keep 'restore_all' label in "x86/entry/head/32: use local labels"
> 
> ---
> 
> Thanks to all the recent x86 entry code refactoring, most tasks' kernel
> stacks start at the same offset right below their saved pt_regs,
> regardless of which syscall was used to enter the kernel.  That creates
> a nice convention which makes it straightforward to identify the end of
> the stack, which can be useful [*] for the unwinder.
> 
> But there a few places where tasks don't yet follow the convention.
> This patch set finishes the job.
> 
> [*] This will be useful for three upcoming proposed features:
> 
> - Detecting corrupt stacks in the unwinder (which will also be a force
>   for ensuring this end of stack convention continues to be followed in
>   the future).
> 
> - Printing all saved pt_regs on the stack during an oops/warning.
> 
> - Validating stacks in the livepatch consistency model.

Ping?

-- 
Josh

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ