]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man2/ptrace.2
ptrace.2: Relocate text noting that PTRACE_MODE_* constants are kernel-internal
[thirdparty/man-pages.git] / man2 / ptrace.2
index 9078772d8b47694f993408225b58558364c9c0a3..613581db74c7d2d4c70a2a889721ec966c3d7c87 100644 (file)
@@ -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.