summaryrefslogtreecommitdiff
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2015-07-02 03:50:21 +0000
committerchristos <christos@NetBSD.org>2015-07-02 03:50:21 +0000
commit5477f976ca3fda148bf6bea84262bc47defc1d99 (patch)
tree75695b0cb3c427b8c4bed30f1de5554ee66b7da7 /lib/libc/sys
parent7684eaab1796789b05c2c7b60e5bd6ff2ede83c3 (diff)
document PIOD_READ_AUXV.
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/ptrace.28
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libc/sys/ptrace.2 b/lib/libc/sys/ptrace.2
index 69c1d36c08d..fe3fb8d633a 100644
--- a/lib/libc/sys/ptrace.2
+++ b/lib/libc/sys/ptrace.2
@@ -1,7 +1,7 @@
-.\" $NetBSD: ptrace.2,v 1.36 2014/07/28 08:10:23 christos Exp $
+.\" $NetBSD: ptrace.2,v 1.37 2015/07/02 03:50:21 christos Exp $
.\"
.\" This file is in the public domain.
-.Dd July 28, 2014
+.Dd July 1, 2015
.Dt PTRACE 2
.Os
.Sh NAME
@@ -224,11 +224,15 @@ Possible values are:
.It Dv PIOD_WRITE_D
.It Dv PIOD_READ_I
.It Dv PIOD_WRITE_I
+.It Dv PIOD_READ_AUXV
.El
.Pp
See the description of
.Dv PT_READ_I
for the difference between I and D spaces.
+The
+.Dv PIOD_READ_AUXV
+operation can be used to read from the ELF auxiliary vector.
A pointer to the I/O descriptor is passed in the
.Fa addr
argument to