summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2013-07-22 18:18:21 +0000
committeremaste <emaste@FreeBSD.org>2013-07-22 18:18:21 +0000
commita3c7be9ea206456b081437f5ab7e0de097f4c3d8 (patch)
tree32a56c016734b945d589acca8c89533f0d46484a /lib/libc/sys
parent095f67f3f5a54d6485d72022d60d50c92b569c47 (diff)
downloadFreeBSD-src-a3c7be9ea206456b081437f5ab7e0de097f4c3d8.zip
FreeBSD-src-a3c7be9ea206456b081437f5ab7e0de097f4c3d8.tar.gz
Document EINVAL error return from PT_LWPINFO
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/ptrace.210
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/libc/sys/ptrace.2 b/lib/libc/sys/ptrace.2
index 90c4544..458ad8d 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 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 register set.
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
OpenPOWER on IntegriCloud