From: Michael Kerrisk Date: Sat, 25 Nov 2006 01:21:51 +0000 (+0000) Subject: Since Linux 2.6.18, the PID of the new process is also available X-Git-Tag: man-pages-2.42~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=53e4da489a63f6bd4dbed52068bf89ac5694f46d;p=thirdparty%2Fman-pages.git Since Linux 2.6.18, the PID of the new process is also available for PTRACE_EVENT_VFORKDONE. --- diff --git a/man2/ptrace.2 b/man2/ptrace.2 index 1eb17626f9..8e7c1d7def 100644 --- a/man2/ptrace.2 +++ b/man2/ptrace.2 @@ -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