Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jul 2013 18:18:21 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r253548 - head/lib/libc/sys
Message-ID:  <201307221818.r6MIILsK067623@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307221818.r6MIILsK067623>