From: Helge Deller Date: Mon, 10 Nov 2014 20:46:18 +0000 (+0100) Subject: parisc: Use compat layer for msgctl, shmat, shmctl and semtimedop syscalls X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~105^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fe749f50b0bec07650ef135b29b1f55bf543869;p=pandora-kernel.git 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 Cc: John David Anglin Cc: # v3.10+ --- Reading git-diff-tree failed