linux-kernel-test/arch/ppc
Paul Mackerras bb0bb3b659 [PATCH] ppc32: Kill init on unhandled synchronous signals
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>
2005-09-10 10:15:11 -07:00
..
4xx_io Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
8xx_io [PATCH] timer initialization cleanup: DEFINE_TIMER 2005-09-09 14:03:48 -07:00
8260_io Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
amiga Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
boot [PATCH] ppc32: In the boot code, don't rely on BASE_BAUD directly 2005-09-09 13:57:29 -07:00
configs [PATCH] ppc32: cpci690 updates 2005-09-05 00:06:01 -07:00
kernel [PATCH] ppc32: Kill init on unhandled synchronous signals 2005-09-10 10:15:11 -07:00
lib [PATCH] spinlock consolidation 2005-09-10 10:06:21 -07:00
math-emu Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mm [PATCH] ppc32: Kill init on unhandled synchronous signals 2005-09-10 10:15:11 -07:00
oprofile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
platforms Merge master.kernel.org:/pub/scm/linux/kernel/git/sam/kbuild 2005-09-09 15:46:49 -07:00
syslib [PATCH] PPC: C99 initializers for hw_interrupt_type structures 2005-09-10 10:06:27 -07:00
xmon [PATCH] ppc32: Kill embedded system.map, use kallsyms 2005-06-21 18:46:26 -07:00
Kconfig [PATCH] ppc32: Fix Kconfig mismerge 2005-09-09 13:57:26 -07:00
Kconfig.debug [PATCH] ppc32: mv64x60 updates & enhancements 2005-09-05 00:06:00 -07:00
Makefile kbuild: m68k,parisc,ppc,ppc64,s390,xtensa use generic asm-offsets.h support 2005-09-09 20:57:26 +02:00