Re: [PATCH v2 01/11] mm: Implement stack frame object validation

From: Andy Lutomirski
Date: Wed Jul 13 2016 - 18:02:01 EST


On Wed, Jul 13, 2016 at 2:55 PM, Kees Cook <keescook@xxxxxxxxxxxx> wrote:
> This creates per-architecture function arch_within_stack_frames() that
> should validate if a given object is contained by a kernel stack frame.
> Initial implementation is on x86.
>
> This is based on code from PaX.
>

This, along with Josh's livepatch work, are two examples of unwinders
that matter for correctness instead of just debugging. ISTM this
should just use Josh's code directly once it's been written.

--Andy