Skip to content
Commit f72c22e4 authored by Richard Weinberger's avatar Richard Weinberger
Browse files

um: Make stack trace reliable against kernel mode faults



As UML uses an alternative signal stack we cannot use
the current stack pointer for stack dumping if UML itself
dies by SIGSEGV. To bypass this issue we save regs taken
from mcontext in our segv handler into thread_struct and
use these regs to obtain the stack pointer in show_stack().

Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent 9d1ee8ce
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment