summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2014-11-10 21:46:18 +0100
committerLuis Henriques <luis.henriques@canonical.com>2014-11-27 11:21:41 +0000
commita41ab4628dd3b72101d7014b3a433c29c1101d03 (patch)
tree19527a3a3630856b9503df8449369cfae8ac9515 /include/linux
parentdd6f093268cb67cefd38a1f83fa9a2c63f50731c (diff)
parisc: Use compat layer for msgctl, shmat, shmctl and semtimedop syscalls
commit 2fe749f50b0bec07650ef135b29b1f55bf543869 upstream. 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> Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions