cvs commit: src/lib/libc/sys ptrace.2
Robert Watson
rwatson at FreeBSD.org
Sat Jan 10 09:41:05 PST 2004
rwatson 2004/01/10 09:41:04 PST
FreeBSD src repository
Modified files:
lib/libc/sys ptrace.2
Log:
Clarify the behavior of ptrace(2) a little bit: the tracing process
must first attach to the traced process. If the tracing process
exits without detaching, the traced process will be killed rather
than continued. For the duration of the tracing session, the traced
process is reparented to the tracing process (with resulting expected
behaviors). It is permissible to trace more than one other process
at a time. When using waitpid() to monitor the behavior of the traced
process, signals are intercepted: they may optionally then be
forwarded using ptrace(). Signals are generated normally by and for
the process, but also by the tracing facility (SIGTRAP).
Product of: Suffering
Sponsored by: DARPA, AFRL
Revision Changes Path
1.34 +24 -0 src/lib/libc/sys/ptrace.2
More information about the cvs-src
mailing list