From: "David Prévot" <taffit-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org>
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Cc: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
"David Prévot" <taffit-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org>
Subject: [PATCH 2/2] ptrace.2: more ffix and tfix
Date: Thu, 22 Mar 2012 23:12:09 -0400 [thread overview]
Message-ID: <1332472329-31499-1-git-send-email-taffit@debian.org> (raw)
In-Reply-To: <1332444186-16345-1-git-send-email-taffit-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org>
The previous ones were spotted during the translations, while those were
spotted during its review.
Regards
David
---
man2/ptrace.2 | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/man2/ptrace.2 b/man2/ptrace.2
index 457c6ac..62f4458 100644
--- a/man2/ptrace.2
+++ b/man2/ptrace.2
@@ -180,7 +180,8 @@ The word is returned as the result of the
call.
Typically, the offset must be word-aligned, though this might vary by
architecture.
-See NOTES.
+See
+.BR NOTES .
.RI ( data
is ignored.)
.TP
@@ -264,7 +265,7 @@ itself.
.RI ( addr
is ignored.)
.TP
-.BR PTRACE_SETOPTIONS " (since Linux 2.4.6; see BUGS for caveats)"
+.BR PTRACE_SETOPTIONS " (since Linux 2.4.6; see " BUGS " for caveats)"
Set ptrace options from
.IR data .
.RI ( addr
@@ -718,7 +719,7 @@ Example:
.\" describe how wait notifications queue (or not queue)
.LP
The following kinds of ptrace-stops exist: signal-delivery-stops,
-group-stop,
+group-stops,
.B PTRACE_EVENT
stops, syscall-stops.
They all are reported by
@@ -802,12 +803,12 @@ Note that a suppressed signal still causes system calls to return
prematurely.
In this case system calls will be restarted: the tracer will
observe the tracee to reexecute the interrupted system call (or
-.BR restart_syscall(2)
+.BR restart_syscall (2)
system call for a few syscalls which use a different mechanism
for restarting) if the tracer uses
.BR PTRACE_SYSCALL .
Even system calls (such as
-.BR poll(2) )
+.BR poll (2))
which are not restartable after signal are restarted after
signal is suppressed;
however, kernel bugs exist which cause some syscalls to fail with
@@ -1454,7 +1455,8 @@ The
.B PTRACE_O_TRACEEXEC
option is the recommended tool for dealing with this situation.
First, it enables
-.BR PTRACE_EVENT_EXEC -stop,
+.B PTRACE_EVENT_EXEC
+stop,
which occurs before
.BR execve(2)
returns.
--
1.7.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2012-03-23 3:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-22 19:23 [PATCH] ptrace.2: ffix and tfix David Prévot
[not found] ` <1332444186-16345-1-git-send-email-taffit-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org>
2012-03-23 3:12 ` David Prévot [this message]
[not found] ` <1332472329-31499-1-git-send-email-taffit-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org>
2012-03-23 15:31 ` [PATCH 2/3] ptrace.2: more " David Prévot
[not found] ` <1332516711-8633-1-git-send-email-taffit-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org>
2012-03-23 23:34 ` David Prévot
2012-03-23 23:36 ` Michael Kerrisk (man-pages)
2012-03-23 23:27 ` [PATCH 2/2] " Michael Kerrisk (man-pages)
2012-03-23 23:32 ` [PATCH 3/3] ptrace.2: another ffix David Prévot
[not found] ` <1332545535-8094-1-git-send-email-taffit-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org>
2012-03-23 23:38 ` Michael Kerrisk (man-pages)
2012-03-23 23:14 ` [PATCH] ptrace.2: ffix and tfix Michael Kerrisk (man-pages)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1332472329-31499-1-git-send-email-taffit@debian.org \
--to=taffit-8fiuurrzop0dnm+yrofe0a@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox