diff options
author | Richard Weinberger <richard@nod.at> | 2011-05-17 15:44:11 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-18 02:55:23 -0700 |
commit | b2db21997f43907f54500edaf063253ca2a186f9 (patch) | |
tree | c98cabccfd71dea17520553fd534335a3d1c0a82 /kernel/freezer.c | |
parent | d6c438b6cd733834a3cec55af8577a8fc3548016 (diff) | |
download | blackbird-op-linux-b2db21997f43907f54500edaf063253ca2a186f9.tar.gz blackbird-op-linux-b2db21997f43907f54500edaf063253ca2a186f9.zip |
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 <richard@nod.at>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/freezer.c')
0 files changed, 0 insertions, 0 deletions