[Midnightbsd-cvs] src [8802] trunk/lib/libc/sys/ptrace.2: document vfork and PT_TRACEME
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sun Sep 25 23:28:27 EDT 2016
Revision: 8802
http://svnweb.midnightbsd.org/src/?rev=8802
Author: laffer1
Date: 2016-09-25 23:28:27 -0400 (Sun, 25 Sep 2016)
Log Message:
-----------
document vfork and PT_TRACEME
Modified Paths:
--------------
trunk/lib/libc/sys/ptrace.2
Modified: trunk/lib/libc/sys/ptrace.2
===================================================================
--- trunk/lib/libc/sys/ptrace.2 2016-09-26 03:27:59 UTC (rev 8801)
+++ trunk/lib/libc/sys/ptrace.2 2016-09-26 03:28:27 UTC (rev 8802)
@@ -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 @@
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 Midnightbsd-cvs
mailing list