Skip to content
Commit 5b4fc388 authored by David Miller's avatar David Miller Committed by David S. Miller
Browse files

sparc64: Make corrupted user stacks more debuggable.



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: default avatarDavid S. Miller <davem@davemloft.net>
parent caf539cd
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