linux/arch/parisc/kernel
Helge Deller 2fe749f50b parisc: Use compat layer for msgctl, shmat, shmctl and semtimedop syscalls
Switch over the msgctl, shmat, shmctl and semtimedop syscalls to use the compat
layer. The problem was found with the debian procenv package, which called
	shmctl(0, SHM_INFO, &info);
in which the shmctl syscall then overwrote parts of the surrounding areas on
the stack on which the info variable was stored and thus lead to a segfault
later on.

Additionally fix the definition of struct shminfo64 to use unsigned longs like
the other architectures. This has no impact on userspace since we only have a
32bit userspace up to now.

Signed-off-by: Helge Deller <deller@gmx.de>
Cc: John David Anglin <dave.anglin@bell.net>
Cc: <stable@vger.kernel.org> # v3.10+
2014-11-10 22:23:47 +01:00
..
.gitignore
Makefile
asm-offsets.c
audit.c
binfmt_elf32.c
cache.c parisc: change value of SHMLBA from 0x00400000 to PAGE_SIZE 2014-04-13 15:00:53 +02:00
compat_audit.c
drivers.c
entry.S
firmware.c
ftrace.c parisc: ftrace: Remove check of obsolete variable function_trace_stop 2014-07-18 13:57:05 -04:00
hardware.c parisc: add serial ports of C8000/1GHz machine to hardware database 2014-07-13 15:51:58 +02:00
head.S
hpmc.S
inventory.c
irq.c parisc: Validate online cpus in irq_set_affinity() callbacks 2014-03-12 13:07:41 +01:00
module.c
pa7300lc.c
pacache.S
parisc_ksyms.c
pci-dma.c
pci.c
pdc_chassis.c
pdc_cons.c
perf.c
perf_asm.S
perf_images.h
process.c parisc: add flexible mmap memory layout support 2014-02-02 21:00:13 +01:00
processor.c
ptrace.c Merge git://git.infradead.org/users/eparis/audit 2014-10-19 16:25:56 -07:00
real2.S
setup.c
signal.c parisc: Use get_signal() signal_setup_done() 2014-08-06 13:03:09 +02:00
signal32.c
signal32.h
smp.c
stacktrace.c
sys_parisc.c parisc,metag: Do not hardcode maximum userspace stack size 2014-05-15 00:01:41 +01:00
sys_parisc32.c parisc: drop unused defines and header includes 2014-07-13 15:56:12 +02:00
syscall.S parisc: Implement new LWS CAS supporting 64 bit operations. 2014-09-13 22:40:48 +02:00
syscall_table.S parisc: Use compat layer for msgctl, shmat, shmctl and semtimedop syscalls 2014-11-10 22:23:47 +01:00
time.c
topology.c
traps.c parisc: ratelimit userspace segfault printing 2014-05-15 21:12:15 +02:00
unaligned.c
unwind.c
vmlinux.lds.S