aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2012-02-18 22:26:32 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2012-02-18 22:26:32 +0000
commit3e2f30f6dda3eac6f398b8de95abbbcc19bd1dbb (patch)
tree59f6dec0f17d8bf878d415e5578aaa3c537700c3 /lib
parent310a027788f0ab0eb11b118fd29daac4988d3315 (diff)
downloadsrc-3e2f30f6dda3eac6f398b8de95abbbcc19bd1dbb.tar.gz
src-3e2f30f6dda3eac6f398b8de95abbbcc19bd1dbb.zip
Document PL_FLAG_CHILD.
MFC after: 3 days
Notes
Notes: svn path=/head/; revision=231902
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/ptrace.27
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libc/sys/ptrace.2 b/lib/libc/sys/ptrace.2
index 43592283a93e..4f1afda1da00 100644
--- a/lib/libc/sys/ptrace.2
+++ b/lib/libc/sys/ptrace.2
@@ -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 October 5, 2011
+.Dd February 19, 2012
.Dt PTRACE 2
.Os
.Sh NAME
@@ -355,6 +355,11 @@ The process identifier of the new process is available in the
.Va pl_child_pid
member of
.Vt "struct ptrace_lwpinfo" .
+.It PL_FLAG_CHILD
+The flag is set for first event reported from a new child, which is
+automatically attached due to
+.Dv PT_FOLLOW_FORK
+enabled.
.El
.It pl_sigmask
The current signal mask of the LWP