Tracing in the presence of forks.

From: Tim Muir (
Date: Thu Aug 31 2000 - 20:31:24 EST

When a process (traced using the ptrace call) forks, the tracing process
cannot keep track of the first few system calls executed by the child
process as the child may be scheduled to run before it can be safely

Is there any mechanism to automatically stop a process created
by a traced parent preventing this race condition from occurring ?

If not, what are the implications of adding this functionality to the
kernel via say a /proc interface ?


Timothy Muir

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:00:29 EST