On Sat, Feb 01, 2014 at 09:57:45AM -0800, Philippe Ombredanne wrote: > @@ -353,7 +355,7 @@ pathtrace_match(struct tcb *tcp) > * been handled is to just check arg[0]. > */ > > - if (s->sys_flags & TRACE_FILE) > + if (s->sys_flags & (TRACE_FILE | TRACE_NETWORK)) > return upathmatch(tcp, tcp->u_arg[0]); > > if (s->sys_flags & TRACE_DESC)
This TRACE_NETWORK case had to go along with TRACE_DESC, not TRACE_FILE. Fixed. > diff --git a/tests/Makefile.am b/tests/Makefile.am > index d8262f0..20736e3 100644 > --- a/tests/Makefile.am > +++ b/tests/Makefile.am > @@ -4,7 +4,7 @@ AM_CFLAGS = $(WARN_CFLAGS) > > check_PROGRAMS = net-accept-connect set_ptracer_any sigaction > > -TESTS = ptrace_setoptions strace-f qual_syscall sigaction.sh stat net \ > +TESTS = ptrace_setoptions strace-f qual_syscall sigaction.sh stat net net-fd > \ net-fd and net tests do not work well when run simultaneously. I've made adjustments to the test suite to handle it properly. Committed to master. Thanks, -- ldv
pgpgGP5Rt09sS.pgp
Description: PGP signature
------------------------------------------------------------------------------ WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________ Strace-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/strace-devel
