svn commit: r247081 - stable/9/lib/libc/sys

Konstantin Belousov kib at FreeBSD.org
Thu Feb 21 05:59:17 UTC 2013


Author: kib
Date: Thu Feb 21 05:59:16 2013
New Revision: 247081
URL: http://svnweb.freebsd.org/changeset/base/247081

Log:
  MFC r246485:
  Document the detail of interaction between vfork and PT_TRACEME.

Modified:
  stable/9/lib/libc/sys/ptrace.2
Directory Properties:
  stable/9/lib/libc/   (props changed)
  stable/9/lib/libc/sys/   (props changed)

Modified: stable/9/lib/libc/sys/ptrace.2
==============================================================================
--- stable/9/lib/libc/sys/ptrace.2	Thu Feb 21 05:57:51 2013	(r247080)
+++ stable/9/lib/libc/sys/ptrace.2	Thu Feb 21 05:59:16 2013	(r247081)
@@ -2,7 +2,7 @@
 .\"	$NetBSD: ptrace.2,v 1.2 1995/02/27 12:35:37 cgd Exp $
 .\"
 .\" This file is in the public domain.
-.Dd February 19, 2012
+.Dd February 7, 2013
 .Dt PTRACE 2
 .Os
 .Sh NAME
@@ -100,6 +100,16 @@ or any of the routines built on it
 it will stop before executing the first instruction of the new image.
 Also, any setuid or setgid bits on the executable being executed will
 be ignored.
+If the child was created by
+.Xr vfork 2
+system call or
+.Xr rfork(2)
+call with the
+.Dv RFMEM
+flag specified, the debugging events are reported to the parent
+only after the
+.Xr execve 2
+is executed.
 .It Dv PT_READ_I , Dv PT_READ_D
 These requests read a single
 .Vt int


More information about the svn-src-stable-9 mailing list