diff options
author | 2008-09-16 19:41:06 +0000 | |
---|---|---|
committer | 2008-09-16 19:41:06 +0000 | |
commit | e19eedd92ea3199597f3cb4aefa3b7ff02bbd889 (patch) | |
tree | 33a4f7a567f8a4eaddc72f00b6f81ebbfe8c2a91 /lib/libc | |
parent | remove dead stores and newly created unused variables. (diff) | |
download | wireguard-openbsd-e19eedd92ea3199597f3cb4aefa3b7ff02bbd889.tar.xz wireguard-openbsd-e19eedd92ea3199597f3cb4aefa3b7ff02bbd889.zip |
Add PIOD_READ_AUXV, a way to get the ELF auxilliary vector through ptrace(2).
ok miod@
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/ptrace.2 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libc/sys/ptrace.2 b/lib/libc/sys/ptrace.2 index 03581e3f10b..99e04b94f89 100644 --- a/lib/libc/sys/ptrace.2 +++ b/lib/libc/sys/ptrace.2 @@ -1,8 +1,8 @@ -.\" $OpenBSD: ptrace.2,v 1.25 2007/05/31 19:19:33 jmc Exp $ +.\" $OpenBSD: ptrace.2,v 1.26 2008/09/16 19:41:06 kettenis Exp $ .\" $NetBSD: ptrace.2,v 1.3 1996/02/23 01:39:41 jtc Exp $ .\" .\" This file is in the public domain. -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: September 16 2008 $ .Dt PTRACE 2 .Os .Sh NAME @@ -217,11 +217,15 @@ Possible values are: .It PIOD_WRITE_D .It PIOD_READ_I .It PIOD_WRITE_I +.It PIOD_READ_AUXV .El .Pp See also the description of .Dv PT_READ_I for the difference between D and I spaces. +The +.Dv PIOD_READ_AUXV +operation can be used to read from the ELF auxiliary vector. A pointer to the descriptor is passed in .Fa addr . On return the |