commit | f72c22e45e8f8fe78c7f793d983bee5bed63497e | [log] [tgz] |
---|---|---|
author | Richard Weinberger <richard@nod.at> | Mon Sep 23 17:38:02 2013 +0200 |
committer | Richard Weinberger <richard@nod.at> | Sun Nov 17 11:27:30 2013 +0100 |
tree | 0e3051e2d357548d086a2ac00c4bfe201fe4e31d | |
parent | 9d1ee8ce92e16c6aa0a3fd91ee8ed9e403b3a2eb [diff] |
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: Richard Weinberger <richard@nod.at>