linux/arch/powerpc/platforms/cell/spufs
Arnd Bergmann e80358ad86 [PATCH] spufs: check for proper file pointer in sys_spu_run
Only checking for SPUFS_MAGIC is not reliable, because
it might not be unique in theory. Worse than that,
we accidentally allow spu_run to be performed on
any file in spufs, not just those returned from
spu_create as intended.

Noticed by Al Viro.

Signed-off-by: Arnd Bergmann <arndb@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-01-09 15:44:38 +11:00
..
Makefile [PATCH] spufs: fix hexdump format 2006-01-09 14:53:18 +11:00
backing_ops.c [PATCH] spufs: fix mailbox polling 2006-01-09 14:53:01 +11:00
context.c [PATCH] spufs: fix locking in spu_acquire_runnable 2006-01-09 15:44:35 +11:00
file.c [PATCH] spufs: fix mailbox polling 2006-01-09 14:53:01 +11:00
hw_ops.c [PATCH] spufs: fix mailbox polling 2006-01-09 14:53:01 +11:00
inode.c [PATCH] spufs: check for proper file pointer in sys_spu_run 2006-01-09 15:44:38 +11:00
sched.c [PATCH] spufs: trivial compile fix 2006-01-09 14:53:14 +11:00
spu_restore.c [PATCH] spufs: add spu-side context switch code 2006-01-09 14:49:25 +11:00
spu_restore_crt0.S [PATCH] spufs: add spu-side context switch code 2006-01-09 14:49:25 +11:00
spu_restore_dump.h_shipped [PATCH] spufs: switchable spu contexts 2006-01-09 14:49:16 +11:00
spu_save.c [PATCH] spufs: add spu-side context switch code 2006-01-09 14:49:25 +11:00
spu_save_crt0.S [PATCH] spufs: add spu-side context switch code 2006-01-09 14:49:25 +11:00
spu_save_dump.h_shipped [PATCH] spufs: switchable spu contexts 2006-01-09 14:49:16 +11:00
spu_utils.h [PATCH] spufs: add spu-side context switch code 2006-01-09 14:49:25 +11:00
spufs.h [PATCH] spufs: check for proper file pointer in sys_spu_run 2006-01-09 15:44:38 +11:00
switch.c [PATCH] spufs: fix mailbox polling 2006-01-09 14:53:01 +11:00
syscalls.c [PATCH] spufs: check for proper file pointer in sys_spu_run 2006-01-09 15:44:38 +11:00