Sent on 2010-9-8 13:24, Roland McGrath wrote: >> Yeah, I forgot the macro ARG_FLAGS. This change seems much simpler and >> it's a good idea. Also we may add this check on syscall exit. > > I see no reason for any additional check. TCB_FOLLOWFORK won't be set > and everything else should flow correctly from there. >
But I'm wondering the following situation though maybe it's not common: we've already traced a process A and its children, A should have TCB_FOLLOWFORK set. And then if A calls clone with CLONE_UNTRACED, I think strace will still allocate tcb for the new child which we don't trace. I'm sorry if I don't understand correctly. Thanks, Wang Chao ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Strace-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/strace-devel
