summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-08-08 05:28:09 +0000
committerpeter <peter@FreeBSD.org>2001-08-08 05:28:09 +0000
commit9db8c8274c22ff86066ba5846695de4cecc71a4f (patch)
tree4c6f369f805ab3aa5fa428346a916338e7dddbb9 /lib/libc
parentbb5c43c4b860ad46968f5c811e6a704114915724 (diff)
downloadFreeBSD-src-9db8c8274c22ff86066ba5846695de4cecc71a4f.zip
FreeBSD-src-9db8c8274c22ff86066ba5846695de4cecc71a4f.tar.gz
Update ptrace(2) re: PT_READ_U and PT_WRITE_U
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/ptrace.245
1 files changed, 0 insertions, 45 deletions
diff --git a/lib/libc/sys/ptrace.2 b/lib/libc/sys/ptrace.2
index 177d88b..e42a7db 100644
--- a/lib/libc/sys/ptrace.2
+++ b/lib/libc/sys/ptrace.2
@@ -91,42 +91,6 @@ and
except that they write rather than read. The
.Fa data
argument supplies the value to be written.
-.It Dv PT_READ_U
-This request reads an
-.Vt int
-from the traced process' user structure. The
-.Fa addr
-argument specifies the location of the int relative to the base of the
-user structure; it will usually be an integer value cast to
-.Vt caddr_t
-either explicitly or via the presence of a prototype for
-.Eo \&
-.Fn ptrace
-.Ec .
-Unlike
-.Dv PT_READ_I
-and
-.Dv PT_READ_D ,
-.Fa addr
-must be aligned on an
-.Vt int
-boundary. The value read is returned as the return value from
-.Eo \&
-.Fn ptrace
-.Ec .
-.It Dv PT_WRITE_U
-This request writes an
-.Vt int
-into the traced process' user structure.
-.Fa addr
-specifies the offset, just as for
-.Dv PT_READ_U ,
-and
-.Fa data
-specifies the value to be written, just as for
-.Dv PT_WRITE_I
-and
-.Dv PT_WRITE_D .
.It Dv PT_CONTINUE
The traced process continues execution.
.Fa addr
@@ -264,15 +228,6 @@ The
.Fa request
was not one of the legal requests.
.It
-The
-.Fa addr
-to
-.Dv PT_READ_U
-or
-.Dv PT_WRITE_U
-was not
-.Vt int Ns \-aligned .
-.It
The signal number (in
.Fa data )
to
OpenPOWER on IntegriCloud