mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-24 10:28:57 +00:00
bb0bb3b659
This is a patch that I have had in my tree for ages. If init causes an exception that raises a signal, such as a SIGSEGV, SIGILL or SIGFPE, and it hasn't registered a handler for it, we don't deliver the signal, since init doesn't get any signals that it doesn't have a handler for. But that means that we just return to userland and generate the same exception again immediately. With this patch we print a message and kill init in this situation. This is very useful when you have a bug in the kernel that means that init doesn't get as far as executing its first instruction. :) Without this patch the system hangs when it gets to starting the userland init; with it you at least get a message giving you a clue about what has gone wrong. Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> |
||
---|---|---|
.. | ||
align.c | ||
asm-offsets.c | ||
bitops.c | ||
cpu_setup_6xx.S | ||
cpu_setup_power4.S | ||
cputable.c | ||
dma-mapping.c | ||
entry.S | ||
fpu.S | ||
head_4xx.S | ||
head_8xx.S | ||
head_44x.S | ||
head_booke.h | ||
head_fsl_booke.S | ||
head.S | ||
idle_6xx.S | ||
idle_power4.S | ||
idle.c | ||
irq.c | ||
l2cr.S | ||
machine_kexec.c | ||
Makefile | ||
misc.S | ||
module.c | ||
pci.c | ||
perfmon_fsl_booke.c | ||
perfmon.c | ||
ppc_htab.c | ||
ppc_ksyms.c | ||
ppc-stub.c | ||
process.c | ||
ptrace.c | ||
relocate_kernel.S | ||
semaphore.c | ||
setup.c | ||
signal.c | ||
smp-tbsync.c | ||
smp.c | ||
softemu8xx.c | ||
swsusp.S | ||
syscalls.c | ||
temp.c | ||
time.c | ||
traps.c | ||
vecemu.c | ||
vector.S | ||
vmlinux.lds.S |