Thread (27 messages) 27 messages, 3 authors, 2021-10-26

Re: [PATCH 3/7] ARM: implement ARCH_STACKWALK

From: Kees Cook <hidden>
Date: 2021-10-22 16:18:51
Also in: lkml

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 <redacted>

-- 
Kees Cook
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help