diff options
| author | David Miller <[email protected]> | 2018-10-26 03:36:46 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-10-26 22:04:41 +0000 |
| commit | 5b4fc3882a649c9411dd0dcad2ddb78e911d340e (patch) | |
| tree | 1e4d71d14473c440a48f1fbfdcd465cf478fc2f4 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | sparc: Fix VDSO build with older binutils. (diff) | |
| download | kernel-5b4fc3882a649c9411dd0dcad2ddb78e911d340e.tar.gz kernel-5b4fc3882a649c9411dd0dcad2ddb78e911d340e.zip | |
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: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
