original_kernel/arch/powerpc/platforms/cell
Jeremy Kerr cbea92383d [POWERPC] spufs: Don't leak kernel stack through an empty {i,m}box_info read
Based on an original patch from Arnd Bergmann
<arnd.bergmann@de.ibm.com>

If there's no entry in the mailbox, then a read on the _info file will
return data from an uninitialised variable.

This change returns EOF if there's no mailbox info available instead.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-12-21 19:46:22 +11:00
..
spufs [POWERPC] spufs: Don't leak kernel stack through an empty {i,m}box_info read 2007-12-21 19:46:22 +11:00
Kconfig
Makefile [POWERPC] spufs: move fault, lscsa_alloc and switch code to spufs module 2007-12-21 19:46:19 +11:00
axon_msi.c
cbe_cpufreq.c [POWERPC] cell: Convert #include of asm/of_{platform, device}.h into linux/of_{platform, device}.h. 2007-12-19 01:00:02 +01:00
cbe_cpufreq.h
cbe_cpufreq_pervasive.c
cbe_cpufreq_pmi.c [POWERPC] cell: Convert #include of asm/of_{platform, device}.h into linux/of_{platform, device}.h. 2007-12-19 01:00:02 +01:00
cbe_regs.c [POWERPC] cell/cbe_regs.c: Add missing of_node_put 2007-12-20 17:13:51 +11:00
cbe_thermal.c
interrupt.c
interrupt.h
io-workarounds.c [POWERPC] pci_controller->arch_data really is a struct device_node * 2007-12-11 13:42:37 +11:00
iommu.c [POWERPC] celleb: Split machine definition 2007-12-20 16:15:30 +11:00
pervasive.c
pervasive.h
pmu.c [POWERPC] perfmon2: make pm_interval register read/write 2007-12-19 01:00:01 +01:00
ras.c
ras.h
setup.c [POWERPC] Cleanup calling mmio_nvram_init 2007-12-20 16:15:27 +11:00
smp.c
spider-pic.c
spu_base.c [POWERPC] spufs: rework class 0 and 1 interrupt handling 2007-12-21 19:46:20 +11:00
spu_callbacks.c
spu_fault.c [POWERPC] spufs: move fault, lscsa_alloc and switch code to spufs module 2007-12-21 19:46:19 +11:00
spu_manage.c [POWERPC] cell: wrap master run control bit 2007-12-21 19:45:05 +11:00
spu_priv1_mmio.c
spu_priv1_mmio.h
spu_syscalls.c