ptrace.2: srcfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-06-24 10:33:01 +02:00
parent 3cd161fe57
commit bcd0d82dac
1 changed files with 13 additions and 0 deletions

View File

@ -2115,6 +2115,19 @@ or calling
.BR process_vm_writev (2).
.RB ( PTRACE_MODE_ATTACH
was effectively the default before Linux 2.6.27.)
.\"
.\" Regarding the above description of the distinction between
.\" PTRACE_MODE_READ and PTRACE_MODE_ATTACH, Stephen Smalley notes:
.\"
.\" That was the intent when the distinction was introduced, but it doesn't
.\" appear to have been properly maintained, e.g. there is now a common
.\" helper lock_trace() that is used for
.\" /proc/pid/{stack,syscall,personality} but checks PTRACE_MODE_ATTACH, and
.\" PTRACE_MODE_ATTACH is also used in timerslack_ns_write/show(). Likely
.\" should review and make them consistent. There was also some debate
.\" about proper handling of /proc/pid/fd. Arguably that one might belong
.\" back in the _ATTACH camp.
.\"
.PP
Note that all of the
.BR PTRACE_MODE_*