linux/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 [POWERPC] cell: add shadow registers for pmd_reg 2006-10-25 14:20:21 +10:00
cbe_regs.h [POWERPC] cell: add low-level performance monitoring code 2006-10-25 14:20:21 +10:00
cbe_thermal.c [POWERPC] cell: add temperature to SPU and CPU sysfs entries 2006-10-25 14:20:22 +10:00
interrupt.c [POWERPC] Fix up after irq changes 2006-10-07 22:08:26 +10:00
interrupt.h [POWERPC] Cell interrupt rework 2006-10-04 14:52:08 +10:00
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 [POWERPC] cell: use ppc_md->power_save instead of cbe_idle_loop 2006-10-25 14:20:22 +10:00
pervasive.h [POWERPC] cell: add RAS support 2006-06-21 15:01:29 +10:00
pmu.c [POWERPC] cell: add low-level performance monitoring code 2006-10-25 14:20:21 +10:00
pmu.h [POWERPC] cell: add low-level performance monitoring code 2006-10-25 14:20:21 +10:00
ras.c Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
ras.h [POWERPC] cell: add RAS support 2006-06-21 15:01:29 +10:00
setup.c [POWERPC] Cell iommu support 2006-12-04 20:39:02 +11:00
smp.c [POWERPC] Cleanup CPU inits 2006-08-25 13:27:35 +10:00
spider-pic.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
spu_base.c [POWERPC] spufs: Return correct event for data storage interrupt 2006-12-04 20:39:54 +11:00
spu_callbacks.c [POWERPC] Unify ppc syscall tables 2006-06-21 15:01:32 +10:00
spu_priv1_mmio.c [POWERPC] spufs: wrap mfc sdr access 2006-10-25 14:20:20 +10:00
spu_syscalls.c