lkml.org 
[lkml]   [2000]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectTracing 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/

\
 
 \ /
  Last update: 2005-03-22 12:39    [W:2.465 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site