summaryrefslogtreecommitdiff
path: root/strace.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2012-05-15 15:35:52 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2012-05-15 15:35:52 +0200
commitc59b3f13fbc50712785cc2635ab12e8152c96aa1 (patch)
tree9daaeaad30f4eb123776ca4eba0b63cf7f91ebcf /strace.c
parentc52826c267aaca5c976b10e13ee6debc0bdf3f43 (diff)
downloadstrace-c59b3f13fbc50712785cc2635ab12e8152c96aa1.tar.gz
strace-c59b3f13fbc50712785cc2635ab12e8152c96aa1.tar.bz2
strace-c59b3f13fbc50712785cc2635ab12e8152c96aa1.tar.xz
Remove outdated comment about suspending new tracees
We no longer track parent/child relationship between tracees. Therefore, we no longer suspend new tracee until parent is seen exiting form [v]fork/clone. The comment is obsolete. * strace.c (trace): Remove outdated comment. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'strace.c')
-rw-r--r--strace.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/strace.c b/strace.c
index 65dee7d..9d7ee7b 100644
--- a/strace.c
+++ b/strace.c
@@ -1917,15 +1917,6 @@ trace(void)
if (!tcp) {
if (followfork) {
- /* This is needed to go with the CLONE_PTRACE
- changes in process.c/util.c: we might see
- the child's initial trap before we see the
- parent return from the clone syscall.
- Leave the child suspended until the parent
- returns from its system call. Only then
- will we have the association of parent and
- child so that we know how to do clearbpt
- in the child. */
tcp = alloctcb(pid);
tcp->flags |= TCB_ATTACHED | TCB_STARTUP | post_attach_sigstop;
newoutf(tcp);