]> granicus.if.org Git - strace/commit
Do not use SYS_ipc and SYS_socketcall
authorDmitry V. Levin <ldv@altlinux.org>
Mon, 20 Feb 2012 17:02:38 +0000 (17:02 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 20 Feb 2012 17:02:38 +0000 (17:02 +0000)
commitb5e88d43a80dad1c7af987d40edef14f69cff8ed
tree42f7f02067bb803acc71dd1f1066f6a0d500e7eb
parent9aa25abb2e74b05872c8d141776ced5c77b29dcf
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.
ipc.c
linux/dummy.h
linux/i386/syscallent.h
linux/ia64/syscallent.h
linux/syscall.h
sock.c
syscall.c