kernel-ark/arch/powerpc
Paul Mackerras bb72c481e9 [POWERPC] Harden validate_sp against stack corruption
If something has overflowed or corrupted the stack and causes an oops,
and we try to print a stack trace, that will call validate_sp, which
can itself cause an oops if the cpu field of the thread_info struct at
the bottom of the stack has been corrupted (if CONFIG_IRQSTACKS is
set).  This makes debugging harder.

To avoid the second oops, this adds a check to make sure that the cpu
number is reasonable before using it to check whether the stack is on
the softirq or hardirq stack.

Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-03-08 15:31:43 +11:00
..
boot Merge branch '86xx' into for_paulus 2007-02-18 08:34:33 -06:00
configs Merge branch '85xx' into for_paulus 2007-02-17 16:32:46 -06:00
kernel [POWERPC] Harden validate_sp against stack corruption 2007-03-08 15:31:43 +11:00
lib
math-emu
mm Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial 2007-02-19 13:29:02 -08:00
oprofile [POWERPC] cell: pm_rtas_activat_signals routine cleanup 2007-02-13 22:03:07 +01:00
platforms [POWERPC] Fix warning in powermac pci.c 2007-03-08 04:09:34 +11:00
sysdev [POWERPC] QE: clean up ucc_slow.c and ucc_fast.c 2007-02-17 16:12:54 -06:00
xmon [POWERPC] Add missing newline in xmon help output 2007-03-08 04:09:33 +11:00
.gitignore
Kconfig [POWERPC] Add PMI driver for cell blade 2007-02-16 14:00:19 +11:00
Kconfig.debug
Makefile