• Ingo Molnar's avatar
    panic: print out stacktrace if DEBUG_BUGVERBOSE · 5cb27301
    Ingo Molnar authored
    if CONFIG_DEBUG_BUGVERBOSE is set then the user most definitely wanted
    to see as much information about kernel crashes as possible - so give
    them at least a stack dump.
    
    this is particularly useful for stackprotector related panics, where
    the stacktrace can give us the exact location of the (attempted)
    attack.
    
    Pointed out by pageexec@freemail.hu in the stackprotector breakage
    threads.
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    5cb27301
panic.c 7.83 KB