kernel-fxtec-pro1x/arch/powerpc/platforms/cell
Christoph Hellwig 5c3ecd659b [POWERPC] spufs: Avoid user-triggered oops in ptrace
When one of the spufs files is mapped into a process address
space, regular users can use ptrace to attempt accessing
them with access_process_vm(). With the way that the
mappings currently work, this likely causes an oops.

Setting the vm_flags to VM_IO makes sure that ptrace can
not access them but returns an error code. This is not
the perfect solution in case of the local store mapping,
but it fixes the oops in a well-defined way.

Also remove leftover VM_RESERVED flags in spufs.  The
VM_RESERVED flag is on it's way out and not checked by
the memory managment code anymore.

Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Christoph Hellwig <chellwig@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-12-04 20:39:57 +11:00
..
spufs [POWERPC] spufs: Avoid user-triggered oops in ptrace 2006-12-04 20:39:57 +11:00
cbe_cpufreq.c [POWERPC] cell: add cpufreq driver for Cell BE processor 2006-10-25 14:20:22 +10:00
cbe_regs.c
cbe_regs.h
cbe_thermal.c
interrupt.c
interrupt.h
io-workarounds.c [POWERPC] Cell "Spider" MMIO workarounds 2006-12-04 20:38:54 +11:00
iommu.c [POWERPC] Cell iommu support 2006-12-04 20:39:02 +11:00
Kconfig [POWERPC] cell: add cpufreq driver for Cell BE processor 2006-10-25 14:20:22 +10:00
Makefile [POWERPC] Cell "Spider" MMIO workarounds 2006-12-04 20:38:54 +11:00
pervasive.c
pervasive.h
pmu.c
pmu.h
ras.c
ras.h
setup.c [POWERPC] Cell iommu support 2006-12-04 20:39:02 +11:00
smp.c
spider-pic.c
spu_base.c [POWERPC] spufs: Return correct event for data storage interrupt 2006-12-04 20:39:54 +11:00
spu_callbacks.c
spu_priv1_mmio.c
spu_syscalls.c