linux_old1/arch/um/os-Linux
Richard Weinberger b2db21997f 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>
2011-05-18 02:55:23 -07:00
..
drivers um: Kill directly reference of netdev->priv 2008-12-04 15:07:33 -08:00
skas x86, um: get rid of excessive includes of uml-config.h 2008-10-22 22:55:22 -07:00
sys-i386 uml: remove include of asm/user.h 2008-06-12 18:05:40 -07:00
sys-x86_64 uml: deal with inaccessible address space start 2008-06-06 11:29:10 -07:00
Makefile uml: remove the dead TTY_LOG code 2008-10-16 11:21:30 -07:00
aio.c uml: style fixes in arch/um/os-Linux 2008-02-08 09:22:42 -08:00
elf_aux.c [PATCH] uml: host VDSO fix 2007-03-01 14:53:38 -08:00
execvp.c [PATCH] uml: make execvp safe for our usage 2006-11-25 13:28:34 -08:00
file.c Deal with missing exports for hostfs 2010-08-09 16:47:25 -04:00
helper.c uml: Fix build breakage after slab.h changes 2010-04-19 17:46:23 +09:00
irq.c uml: remove init_irq_signals 2008-02-05 09:44:30 -08:00
main.c uml: fix build when SLOB is enabled 2008-05-13 08:02:22 -07:00
mem.c um: os-linux/mem.c needs sys/stat.h 2010-06-29 15:29:32 -07:00
process.c uml: style fixes in arch/um/os-Linux 2008-02-08 09:22:42 -08:00
registers.c uml: kill processes instead of panicing kernel 2008-02-05 09:44:28 -08:00
sigio.c UML: make several more things static 2008-07-24 10:47:24 -07:00
signal.c UML: make several more things static 2008-07-24 10:47:24 -07:00
start_up.c uml: improve error messages 2009-04-01 08:59:16 -07:00
time.c um: fix global timer issue when using CONFIG_NO_HZ 2010-10-26 16:52:03 -07:00
tls.c uml: style fixes pass 1 2007-10-16 09:43:05 -07:00
tty.c uml: tidy kern_util.h 2008-02-05 09:44:26 -08:00
uaccess.c uml: style fixes in arch/um/os-Linux 2008-02-08 09:22:42 -08:00
umid.c UML: make several more things static 2008-07-24 10:47:24 -07:00
user_syms.c Deal with missing exports for hostfs 2010-08-09 16:47:25 -04:00
util.c um: fix abort 2011-05-18 02:55:23 -07:00