diff options
author | Richard Weinberger <[email protected]> | 2011-05-17 15:44:11 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2011-05-18 02:55:23 -0700 |
commit | b2db21997f43907f54500edaf063253ca2a186f9 (patch) | |
tree | c98cabccfd71dea17520553fd534335a3d1c0a82 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | d6c438b6cd733834a3cec55af8577a8fc3548016 (diff) |
um: fix abort
os_dump_core() uses abort() to terminate UML in case of an fatal error.
glibc's abort() calls raise(SIGABRT) which makes use of tgkill().
tgkill() has no effect within UML's kernel threads because they are not
pthreads. As fallback abort() executes an invalid instruction to
terminate the process. Therefore UML gets killed by SIGSEGV and leaves a
ugly log entry in the host's kernel ring buffer.
To get rid of this we use our own abort routine.
Signed-off-by: Richard Weinberger <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions