ptrace.2: srcfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-01-18 12:09:19 +01:00
parent 3b4a59c4b5
commit 81c5080b1b
1 changed files with 8 additions and 8 deletions

View File

@ -573,7 +573,8 @@ The PID of the new process can (since Linux 2.6.18) be retrieved with
Stop the tracee when a Stop the tracee when a
.BR seccomp (2) .BR seccomp (2)
.BR SECCOMP_RET_TRACE .BR SECCOMP_RET_TRACE
rule is triggered. A rule is triggered.
A
.BR waitpid (2) .BR waitpid (2)
by the tracer will return a by the tracer will return a
.I status .I status
@ -586,11 +587,10 @@ value such that
While this triggers a While this triggers a
.BR PTRACE_EVENT .BR PTRACE_EVENT
stop, it is similar to a syscall-enter-stop, in that the tracee has stop, it is similar to a syscall-enter-stop, in that the tracee has
not yet entered the syscall that seccomp triggered on. The seccomp not yet entered the syscall that seccomp triggered on.
event message data (from the The seccomp event message data (from the
.BR SECCOMP_RET_DATA .BR SECCOMP_RET_DATA
portion of the seccomp filter rule) portion of the seccomp filter rule) can be retrieved with
can be retrieved with
.BR PTRACE_GETEVENTMSG . .BR PTRACE_GETEVENTMSG .
.RE .RE
.TP .TP
@ -1349,10 +1349,10 @@ Stop triggered by a
.BR seccomp (2) .BR seccomp (2)
rule on tracee syscall entry when rule on tracee syscall entry when
.BR PTRACE_O_TRACESECCOMP .BR PTRACE_O_TRACESECCOMP
has been set by the tracer. The seccomp event message data (from the has been set by the tracer.
The seccomp event message data (from the
.BR SECCOMP_RET_DATA .BR SECCOMP_RET_DATA
portion of the seccomp filter rule) portion of the seccomp filter rule) can be retrieved with
can be retrieved with
.BR PTRACE_GETEVENTMSG . .BR PTRACE_GETEVENTMSG .
.LP .LP
.B PTRACE_GETSIGINFO .B PTRACE_GETSIGINFO