Skip to contentSkip to conversation

ptrace(2): only reference sys/user.h

PATCH In review Mike Frysinger 2 participants 2 messages Mar 17, 2009 – Mar 29, 2009 1 message not in the archive Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ptrace(2): only reference sys/user.h

The kernel no longer installs linux/user.h, so update references to sys/user.h.

---
 man2/ptrace.2 |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
man2/ptrace.2 +2 -3
index f75435d..0611bfe 100644
@@ -133,8 +133,7 @@ Reads a word at offset
 .I addr
 in the child's USER area,
 which holds the registers and other information about the process
-(see \fI<linux/user.h>\fP and \fI<sys/user.h>\fP).
-The word is returned as the result of the
+(see \fI<sys/user.h>\fP).  The word is returned as the result of the
 .BR ptrace ()
 call.
 Typically the offset must be word-aligned, though this might vary by
@@ -165,7 +164,7 @@ some modifications to the USER area are disallowed.
 .BR PTRACE_GETREGS ", " PTRACE_GETFPREGS
 Copies the child's general purpose or floating-point registers,
 respectively, to location \fIdata\fP in the parent.
-See \fI<linux/user.h>\fP for information on
+See \fI<sys/user.h>\fP for information on
 the format of this data.
 (\fIaddr\fP is ignored.)
 .TP
Signature · 6 lines
1.6.2

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 1237334281-20353-1-git-send-email-vapier-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org

#2 lore raw

Hi Mike,

Quoted 2 lines · Mike Frysinger

The kernel no longer installs linux/user.h, so update references to sys/user.h.

Thanks. Applied for 3.20.

Cheers,

Michael

Quoted 32 lines

---
 man2/ptrace.2 |    5 ++---

 1 files changed, 2 insertions(+), 3 deletions(-)
man2/ptrace.2 +0 -0
index f75435d..0611bfe 100644
@@ -133,8 +133,7 @@ Reads a word at offset

 .I addr
 in the child's USER area,
 which holds the registers and other information about the process

man2/ptrace.2 +1 -2
-(see \fI<linux/user.h>\fP and \fI<sys/user.h>\fP).
-The word is returned as the result of the
+(see \fI<sys/user.h>\fP).  The word is returned as the result of the

 .BR ptrace ()
 call.
 Typically the offset must be word-aligned, though this might vary by

man2/ptrace.2 +0 -0
@@ -165,7 +164,7 @@ some modifications to the USER area are disallowed.

 .BR PTRACE_GETREGS ", " PTRACE_GETFPREGS
 Copies the child's general purpose or floating-point registers, respectively, to location \fIdata\fP in the parent.

man2/ptrace.2 +1 -1
-See \fI<linux/user.h>\fP for information on
+See \fI<sys/user.h>\fP for information on

 the format of this data.
 (\fIaddr\fP is ignored.)
 .TP
--
1.6.2

Signature · 9 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
git://git.kernel.org/pub/scm/docs/man-pages/man-pages.git
man-pages online: http://www.kernel.org/doc/man-pages/online_pages.html
Found a bug? http://www.kernel.org/doc/man-pages/reporting_bugs.html
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html