summaryrefslogtreecommitdiff
path: root/ipc.c
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2009-10-05 23:31:54 +0000
committerDmitry V. Levin <ldv@altlinux.org>2009-10-05 23:31:54 +0000
commitc0124e64489277d2d8a6c76ee66579ffa18e052e (patch)
treeac2bb00597842be32ea8de387096c5adc2dd0adc /ipc.c
parent1dc2061c2ac7a73fa3d88fa0b10079151f7de530 (diff)
downloadstrace-c0124e64489277d2d8a6c76ee66579ffa18e052e.tar.gz
strace-c0124e64489277d2d8a6c76ee66579ffa18e052e.tar.bz2
strace-c0124e64489277d2d8a6c76ee66579ffa18e052e.tar.xz
* ipc.c [LINUX] (sys_shmat): HPPA does not use an IPC multiplexer.
Based on patch from Carlos O'Donell.
Diffstat (limited to 'ipc.c')
-rw-r--r--ipc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ipc.c b/ipc.c
index ab29412..afae0c8 100644
--- a/ipc.c
+++ b/ipc.c
@@ -387,7 +387,8 @@ struct tcb *tcp;
}
if (syserror(tcp))
return 0;
-#ifdef LINUX
+/* HPPA does not use an IPC multiplexer on Linux. */
+#if defined(LINUX) && !defined(HPPA)
if (umove(tcp, tcp->u_arg[2], &raddr) < 0)
return RVAL_NONE;
tcp->u_rval = raddr;