linux/arch/powerpc/platforms/cell/spufs
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
..
backing_ops.c [POWERPC] spufs: DMA Restart after SIGSEGV 2007-12-21 19:46:21 +11:00
context.c [POWERPC] spufs: make state_mutex interruptible 2007-12-21 19:46:21 +11:00
coredump.c [POWERPC] spufs: make state_mutex interruptible 2007-12-21 19:46:21 +11:00
fault.c [POWERPC] spufs: DMA Restart after SIGSEGV 2007-12-21 19:46:21 +11:00
file.c [POWERPC] spufs: Don't leak kernel stack through an empty {i,m}box_info read 2007-12-21 19:46:22 +11:00
gang.c [CELL] cell: add placement computation for scheduling of affinity contexts 2007-07-20 21:42:17 +02:00
hw_ops.c [POWERPC] spufs: use #defines for SPU class [012] exception status 2007-12-21 19:46:20 +11:00
inode.c [POWERPC] spufs: Fix context destroy vs /spu readdir race 2007-11-20 16:10:20 +11:00
lscsa_alloc.c [POWERPC] spufs: move fault, lscsa_alloc and switch code to spufs module 2007-12-21 19:46:19 +11:00
Makefile [POWERPC] spufs: move fault, lscsa_alloc and switch code to spufs module 2007-12-21 19:46:19 +11:00
run.c [POWERPC] spufs: make state_mutex interruptible 2007-12-21 19:46:21 +11:00
sched.c [POWERPC] spufs: Use separate timer for /proc/spu_loadavg calculation 2007-12-21 19:46:21 +11:00
spu_restore.c [CELL] spufs: change decrementer restore timing 2007-07-20 21:42:03 +02:00
spu_restore_crt0.S
spu_restore_dump.h_shipped [CELL] spufs: change decrementer restore timing 2007-07-20 21:42:03 +02:00
spu_save.c [POWERPC] spufs: fix building spufs/spu_save_dump.h 2007-07-03 15:24:44 +10:00
spu_save_crt0.S
spu_save_dump.h_shipped
spu_utils.h
spufs.h [POWERPC] spufs: make state_mutex interruptible 2007-12-21 19:46:21 +11:00
switch.c [POWERPC] spufs: don't set reserved bits in spu interrupt status 2007-12-21 19:46:20 +11:00
syscalls.c [POWERPC] spufs: Combine spufs_coredump_calls with spufs_calls 2007-09-19 15:12:19 +10:00