]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
Since Linux 2.6.18, the PID of the new process is also available
authorMichael Kerrisk <mtk.manpages@gmail.com>
Sat, 25 Nov 2006 01:21:51 +0000 (01:21 +0000)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Sat, 25 Nov 2006 01:21:51 +0000 (01:21 +0000)
for PTRACE_EVENT_VFORKDONE.

man2/ptrace.2

index 1eb17626f90478de2d7ed7efb86e4a621384939f..8e7c1d7def66b48cabe6794075250e66a9ce3794 100644 (file)
@@ -251,7 +251,10 @@ about the ptrace event
 that just happened, placing it in the location \fIdata\fP in the parent.
 For PTRACE_EVENT_EXIT this is the child's exit status.  For
 PTRACE_EVENT_FORK, PTRACE_EVENT_VFORK and PTRACE_EVENT_CLONE this
-is the PID of the new process.  (\fIaddr\fP is ignored.)
+is the PID of the new process.  
+Since Linux 2.6.18, the PID of the new process is also available
+for PTRACE_EVENT_VFORK_DONE.
+(\fIaddr\fP is ignored.)
 .TP
 PTRACE_CONT
 Restarts the stopped child process.  If \fIdata\fP is non-zero and not