mirror of https://github.com/mkerrisk/man-pages
ptrace.2: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
2a243c9e6a
commit
40d0af61c4
|
@ -296,9 +296,7 @@ is ignored.)
|
|||
.IR data
|
||||
is interpreted as a bit mask of options,
|
||||
which are specified by the following flags:
|
||||
|
||||
.RS
|
||||
|
||||
.TP
|
||||
.BR PTRACE_O_EXITKILL " (since Linux 3.8)"
|
||||
.\" commit 992fb6e170639b0849bace8e49bf31bd37c4123
|
||||
|
@ -307,7 +305,6 @@ If a tracer sets this flag, a
|
|||
signal will be sent to every tracee if the tracer exits.
|
||||
This option is useful for ptrace jailers that
|
||||
want to ensure that tracees can never escape the tracer's control.
|
||||
|
||||
.TP
|
||||
.BR PTRACE_O_TRACECLONE " (since Linux 2.5.46)"
|
||||
Stop the tracee at the next
|
||||
|
@ -348,7 +345,6 @@ with the exit signal set to
|
|||
will be delivered if
|
||||
.B PTRACE_O_TRACEFORK
|
||||
is set.
|
||||
|
||||
.TP
|
||||
.BR PTRACE_O_TRACEEXEC " (since Linux 2.5.46)"
|
||||
Stop the tracee at the next
|
||||
|
@ -367,7 +363,6 @@ If the execing thread is not a thread group leader,
|
|||
the thread ID is reset to thread group leader's ID before this stop.
|
||||
Since Linux 3.0, the former thread ID can be retrieved with
|
||||
.BR PTRACE_GETEVENTMSG .
|
||||
|
||||
.TP
|
||||
.BR PTRACE_O_TRACEEXIT " (since Linux 2.5.60)"
|
||||
Stop the tracee at exit.
|
||||
|
@ -391,7 +386,6 @@ whereas the normal exit notification is done after the process
|
|||
is finished exiting.
|
||||
Even though context is available,
|
||||
the tracer cannot prevent the exit from happening at this point.
|
||||
|
||||
.TP
|
||||
.BR PTRACE_O_TRACEFORK " (since Linux 2.5.46)"
|
||||
Stop the tracee at the next
|
||||
|
@ -411,7 +405,6 @@ value such that
|
|||
|
||||
The PID of the new process can be retrieved with
|
||||
.BR PTRACE_GETEVENTMSG .
|
||||
|
||||
.TP
|
||||
.BR PTRACE_O_TRACESYSGOOD " (since Linux 2.4.6)"
|
||||
When delivering system call traps, set bit 7 in the signal number
|
||||
|
@ -456,9 +449,7 @@ value such that
|
|||
|
||||
The PID of the new process can (since Linux 2.6.18) be retrieved with
|
||||
.BR PTRACE_GETEVENTMSG .
|
||||
|
||||
.RE
|
||||
|
||||
.TP
|
||||
.BR PTRACE_GETEVENTMSG " (since Linux 2.5.46)"
|
||||
Retrieve a message (as an
|
||||
|
|
Loading…
Reference in New Issue