Messages in this thread | | | Date | Fri, 1 Sep 2000 11:31:24 +1000 (GMT+1000) | From | Tim Muir <> | Subject | Tracing in the presence of forks. |
| |
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 attached.
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 ?
Regards
Timothy Muir
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
| |