ptrace.2: Rephrase PTRACE_ATTACH permissions in terms of ptrace access mode check

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-06-11 12:08:08 +02:00
parent 408c8172e4
commit d4c976d820
1 changed files with 5 additions and 7 deletions

View File

@ -805,13 +805,11 @@ and
.I data
are ignored.)
Processes that are not dumpable (see the description of
.BR PR_SET_DUMPABLE
in
.BR prctl (2))
can not be attached via
.BR ptrace (2)
.BR PTRACE_ATTACH .
Permission to perform a
.BR PTRACE_ATTACH
is governed by a ptrace access mode
.B PTRACE_MODE_ATTACH_REALCREDS
check; see below.
.TP
.BR PTRACE_SEIZE " (since Linux 3.4)"
.\"