diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2012-02-20 17:02:38 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2012-02-20 17:02:38 +0000 |
commit | b5e88d43a80dad1c7af987d40edef14f69cff8ed (patch) | |
tree | 42f7f02067bb803acc71dd1f1066f6a0d500e7eb /sock.c | |
parent | 9aa25abb2e74b05872c8d141776ced5c77b29dcf (diff) | |
download | strace-b5e88d43a80dad1c7af987d40edef14f69cff8ed.tar.gz |
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 'sock.c')
-rw-r--r-- | sock.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -291,3 +291,9 @@ sock_ioctl(struct tcb *tcp, long code, long arg) return 0; } } + +int +sys_socketcall(struct tcb *tcp) +{ + return printargs(tcp); +} |