2008-08-24 Roland McGrath <roland@redhat.com>

* syscall.c (trace_syscall): Conditionalize on [SYS_socket_subcall]
	and [SYS_ipc_subcall] individually.
This commit is contained in:
Roland McGrath 2008-08-25 03:16:26 +00:00
parent d94020ffc1
commit d5bd7e681b

View File

@ -2430,18 +2430,18 @@ trace_syscall(struct tcb *tcp)
return res;
switch (known_scno(tcp)) {
#ifdef LINUX
#if !defined (ALPHA) && !defined(MIPS) && !defined(HPPA)
#ifdef SYS_socket_subcall
case SYS_socketcall:
decode_subcall(tcp, SYS_socket_subcall,
SYS_socket_nsubcalls, deref_style);
break;
#endif
#ifdef SYS_ipc_subcall
case SYS_ipc:
decode_subcall(tcp, SYS_ipc_subcall,
SYS_ipc_nsubcalls, shift_style);
break;
#endif /* !(ALPHA || MIPS || HPPA) */
#endif /* LINUX */
#endif
#ifdef SVR4
#ifdef SYS_pgrpsys_subcall
case SYS_pgrpsys: