mirror of https://github.com/mkerrisk/man-pages
ptrace.2: Relocate text noting that PTRACE_MODE_* constants are kernel-internal
(No content changes.) Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
be26fa864f
commit
edb7368474
|
@ -2130,17 +2130,6 @@ was effectively the default before Linux 2.6.27.)
|
|||
.\" back in the _ATTACH camp.
|
||||
.\"
|
||||
.PP
|
||||
Note that all of the
|
||||
.BR PTRACE_MODE_*
|
||||
constants described in this subsection are kernel-internal,
|
||||
and not visible to user space.
|
||||
The constant names are mentioned here in order to label the various kinds of
|
||||
ptrace access mode checks that are performed for various system calls
|
||||
and accesses to various pseudofiles (e.g., under
|
||||
.IR /proc ).
|
||||
These names are used in other man pages to provide a simple
|
||||
shorthand for labeling the different kernel checks.
|
||||
|
||||
Since Linux 4.5,
|
||||
.\" commit caaee6234d05a58c5b4d05e7bf766131b810a657
|
||||
the above access mode checks are combined (ORed) with
|
||||
|
@ -2192,6 +2181,17 @@ there is no reason to generate a security audit record.
|
|||
This modifier suppresses the generation of
|
||||
such an audit record for the particular access check.
|
||||
.PP
|
||||
Note that all of the
|
||||
.BR PTRACE_MODE_*
|
||||
constants described in this subsection are kernel-internal,
|
||||
and not visible to user space.
|
||||
The constant names are mentioned here in order to label the various kinds of
|
||||
ptrace access mode checks that are performed for various system calls
|
||||
and accesses to various pseudofiles (e.g., under
|
||||
.IR /proc ).
|
||||
These names are used in other man pages to provide a simple
|
||||
shorthand for labeling the different kernel checks.
|
||||
|
||||
The algorithm employed for ptrace access mode checking determines whether
|
||||
the calling process is allowed to perform the corresponding action
|
||||
on the target process.
|
||||
|
|
Loading…
Reference in New Issue