From 8a17073eef5380f10f392940e6a68bf897224c13 Mon Sep 17 00:00:00 2001 From: kib Date: Sat, 18 Feb 2012 22:26:32 +0000 Subject: [PATCH] Document PL_FLAG_CHILD. MFC after: 3 days --- lib/libc/sys/ptrace.2 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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