From b5e88d43a80dad1c7af987d40edef14f69cff8ed Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Mon, 20 Feb 2012 17:02:38 +0000 Subject: 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. --- sock.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sock.c') diff --git a/sock.c b/sock.c index f48fd46ad..d3a510a19 100644 --- a/sock.c +++ b/sock.c @@ -291,3 +291,9 @@ sock_ioctl(struct tcb *tcp, long code, long arg) return 0; } } + +int +sys_socketcall(struct tcb *tcp) +{ + return printargs(tcp); +} -- cgit v1.2.1