summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2012-02-18 22:26:32 +0000
committerkib <kib@FreeBSD.org>2012-02-18 22:26:32 +0000
commit8a17073eef5380f10f392940e6a68bf897224c13 (patch)
tree59f6dec0f17d8bf878d415e5578aaa3c537700c3 /lib
parent01e294b2fd2f1b4692971fdf73b774bf49e5a3cd (diff)
downloadFreeBSD-src-8a17073eef5380f10f392940e6a68bf897224c13.zip
FreeBSD-src-8a17073eef5380f10f392940e6a68bf897224c13.tar.gz
Document PL_FLAG_CHILD.
MFC after: 3 days
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 4359228..4f1afda 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
OpenPOWER on IntegriCloud