]> granicus.if.org Git - strace/commitdiff
Don't try to follow clone, until special handling for all of its
authorNate Sammons <nate@users.sourceforge.net>
Mon, 29 Mar 1999 23:02:29 +0000 (23:02 +0000)
committerNate Sammons <nate@users.sourceforge.net>
Mon, 29 Mar 1999 23:02:29 +0000 (23:02 +0000)
possible modes has been implemented.

process.c

index 5ecaa16c71b77b82a19a07729b12e9103dc6ee10..bcea3d48b2858e830120ca6d1d2254e9df9d9884 100644 (file)
--- a/process.c
+++ b/process.c
@@ -300,6 +300,12 @@ struct tcb *tcp;
                dont_follow = 1;
 #endif
        }
+#endif
+#ifdef SYS_clone
+       /* clone can do many things, not all of which we know how to handle.
+          Don't do it for now. */
+       if (tcp->scno == SYS_clone)
+               dont_follow = 1;
 #endif
        if (entering(tcp)) {
                if (!followfork || dont_follow)