summaryrefslogtreecommitdiffstats
path: root/arch/sparc/Kconfig.debug
diff options
context:
space:
mode:
authorDavid Miller2018-10-26 05:36:46 +0200
committerGreg Kroah-Hartman2018-11-04 14:50:54 +0100
commitd7f58d5f2cdbd5a12f3f6b71606f374353f07cf9 (patch)
treefa30f089ef73f2634d266324f2efa044b89aeea6 /arch/sparc/Kconfig.debug
parentsparc64: Export __node_distance. (diff)
downloadkernel-qcow2-linux-d7f58d5f2cdbd5a12f3f6b71606f374353f07cf9.tar.gz
kernel-qcow2-linux-d7f58d5f2cdbd5a12f3f6b71606f374353f07cf9.tar.xz
kernel-qcow2-linux-d7f58d5f2cdbd5a12f3f6b71606f374353f07cf9.zip
sparc64: Make corrupted user stacks more debuggable.
[ Upstream commit 5b4fc3882a649c9411dd0dcad2ddb78e911d340e ] Right now if we get a corrupted user stack frame we do a do_exit(SIGILL) which is not helpful. If under a debugger, this behavior causes the inferior process to exit. So the register and other state cannot be examined at the time of the event. Instead, conditionally log a rate limited kernel log message and then force a SIGSEGV. With bits and ideas borrowed (as usual) from powerpc. Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/sparc/Kconfig.debug')
0 files changed, 0 insertions, 0 deletions