]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
process_madvise.2: Consistently use the term 'advice'
authorMichael Kerrisk <mtk.manpages@gmail.com>
Sat, 13 Feb 2021 21:54:00 +0000 (22:54 +0100)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Sat, 13 Feb 2021 22:03:06 +0000 (23:03 +0100)
The page used 'hint' and 'advice' synonymously. This leaves the
reader wondering if the terms mean the same thing, or different
things. They mean the same thing, so use just one term.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/process_madvise.2

index dc654ed04ca195214a3ef0e638562c0b4e592d3b..2b900491be19bb9e38341a614b928d365200a0b6 100644 (file)
@@ -115,7 +115,7 @@ The
 .I vlen
 and
 .I iovec
-arguments are checked before applying any hints.
+arguments are checked before applying any advice.
 If
 .I vlen
 is too big, or
@@ -123,20 +123,20 @@ is too big, or
 is invalid,
 then an error will be returned immediately and no advice will be applied.
 .PP
-The hint might be applied to only a part of
+The advice might be applied to only a part of
 .I iovec
 if one of its elements points to an invalid memory region in the
 remote process.
 No further elements will be processed beyond that point.
 (See the discussion regarding partial advice in RETURN VALUE.)
 .PP
-Permission to provide a hint to another process is governed by a
+Permission to apply advice to another process is governed by a
 ptrace access mode
 .B PTRACE_MODE_READ_REALCREDS
 check (see
 .BR ptrace (2));
 in addition,
-because of the performance implications of applying the hint,
+because of the performance implications of applying the advice,
 the caller must have the
 .B CAP_SYS_ADMIN
 capability.