summaryrefslogtreecommitdiff
path: root/ipc.c
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2012-02-20 17:02:38 +0000
committerDmitry V. Levin <ldv@altlinux.org>2012-02-20 17:02:38 +0000
commitb5e88d43a80dad1c7af987d40edef14f69cff8ed (patch)
tree42f7f02067bb803acc71dd1f1066f6a0d500e7eb /ipc.c
parent9aa25abb2e74b05872c8d141776ced5c77b29dcf (diff)
downloadstrace-b5e88d43a80dad1c7af987d40edef14f69cff8ed.tar.gz
strace-b5e88d43a80dad1c7af987d40edef14f69cff8ed.tar.bz2
strace-b5e88d43a80dad1c7af987d40edef14f69cff8ed.tar.xz
Do not use SYS_ipc and SYS_socketcall
* linux/dummy.h (sys_ipc, sys_socketcall): Remove redirections to printargs. * linux/ia64/syscallent.h: Likewise. * linux/i386/syscallent.h: Remove native_scno initialization for "ipc" and "socketcall". * linux/syscall.h (sys_ipc, sys_socketcall): New prototypes. (SYS_ipc, SYS_socketcall): Remove no longer used constants. [IA64]: Remove undefining of ipc and socket SYS_* constants. [SPARC || SPARC64]: Remove unused ipc SYS_* constants. * ipc.c (sys_ipc): New function. * sock.c (sys_socketcall): Likewise. * syscall.c (trace_syscall_entering): Use sys_func to check for ipc and socket subcalls.
Diffstat (limited to 'ipc.c')
-rw-r--r--ipc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ipc.c b/ipc.c
index bac9938..c956b19 100644
--- a/ipc.c
+++ b/ipc.c
@@ -560,3 +560,9 @@ sys_mq_getsetattr(struct tcb *tcp)
return 0;
}
#endif
+
+int
+sys_ipc(struct tcb *tcp)
+{
+ return printargs(tcp);
+}