Tracing in the presence of forks.

From: Tim Muir (s350822@student.uq.edu.au)
Date: Thu Aug 31 2000 - 21:31:24 EDT

  • Next message: Alexander Viro: "Re: hfs support for blocksize != 512"

    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/



    This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:32:36 EDT