diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2008-09-16 19:41:07 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2008-09-16 19:41:07 +0000 |
commit | a2576e00952250b7829946bc40bcf23768502974 (patch) | |
tree | 2d5720bcc0565cf270a25d43241478c105a09b53 /lib | |
parent | fb6ae06dc5a8218bd9fb19798e4adcce4e2d8b28 (diff) |
Add PIOD_READ_AUXV, a way to get the ELF auxilliary vector through ptrace(2).
ok miod@
Diffstat (limited to 'lib')
-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 |