Messages in this thread | | | Date | Fri, 22 Oct 2021 09:18:46 -0700 | From | Kees Cook <> | Subject | Re: [PATCH 3/7] ARM: implement ARCH_STACKWALK |
| |
On Fri, Oct 22, 2021 at 05:09:36PM +0200, Peter Zijlstra wrote: > From: Ard Biesheuvel <ardb@kernel.org> > > Implement the flavor of CONFIG_STACKTRACE that relies mostly on generic > code, and only need a small arch_stack_walk() helper that performs the > actual frame unwinding. > > Note that this removes the SMP check that used to live in > __save_stack_trace(), but this is no longer needed now that the generic > version of save_stack_trace_tsk() takes care not to walk the call stack > of tasks that are live on other CPUs. > > Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
-- Kees Cook
| |