svn commit: r253548 - head/lib/libc/sys

Ed Maste emaste at FreeBSD.org
Mon Jul 22 18:18:22 UTC 2013


Author: emaste
Date: Mon Jul 22 18:18:21 2013
New Revision: 253548
URL: http://svnweb.freebsd.org/changeset/base/253548

Log:
  Document EINVAL error return from PT_LWPINFO

Modified:
  head/lib/libc/sys/ptrace.2

Modified: head/lib/libc/sys/ptrace.2
==============================================================================
--- head/lib/libc/sys/ptrace.2	Mon Jul 22 15:02:55 2013	(r253547)
+++ head/lib/libc/sys/ptrace.2	Mon Jul 22 18:18:21 2013	(r253548)
@@ -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 7, 2013
+.Dd July 22, 2013
 .Dt PTRACE 2
 .Os
 .Sh NAME
@@ -556,6 +556,14 @@ was attempted on a process with no valid
 was given an invalid value for
 .Fa pve_entry .
 This can also be caused by changes to the VM map of the process.
+.It
+The size (in
+.Fa data )
+provided to
+.Dv PT_LWPINFO
+was less than or equal to zero, or larger than the
+.Vt ptrace_lwpinfo
+structure known to the kernel.
 .El
 .It Bq Er EBUSY
 .Bl -bullet -compact


More information about the svn-src-head mailing list