ptrace.2: Minor edits to Denys Vlasenko's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2012-03-30 06:57:11 +13:00
parent b16ecdae13
commit d39a9b9833
1 changed files with 4 additions and 4 deletions

View File

@ -46,7 +46,7 @@
.\" FIXME Linux 3.1 adds PTRACE_SEIZE, PTRACE_INTERRUPT, .\" FIXME Linux 3.1 adds PTRACE_SEIZE, PTRACE_INTERRUPT,
.\" and PTRACE_LISTEN. .\" and PTRACE_LISTEN.
.\" .\"
.TH PTRACE 2 2012-03-24 "Linux" "Linux Programmer's Manual" .TH PTRACE 2 2012-03-30 "Linux" "Linux Programmer's Manual"
.SH NAME .SH NAME
ptrace \- process trace ptrace \- process trace
.SH SYNOPSIS .SH SYNOPSIS
@ -114,13 +114,13 @@ The tracer then causes the tracee to continue,
optionally ignoring the delivered signal optionally ignoring the delivered signal
(or even delivering a different signal instead). (or even delivering a different signal instead).
.LP .LP
If If the
.B PTRACE_O_TRACEEXEC .B PTRACE_O_TRACEEXEC
option is not in effect, all successful calls to option is not in effect, all successful calls to
.BR execve (2) .BR execve (2)
by the traced process will cause a by the traced process will cause it to be sent a
.B SIGTRAP .B SIGTRAP
to be sent to it, signal,
giving the parent a chance to gain control before the new program giving the parent a chance to gain control before the new program
begins execution. begins execution.
.LP .LP