From: Michael Kerrisk Date: Sat, 13 Feb 2021 21:54:00 +0000 (+0100) Subject: process_madvise.2: Consistently use the term 'advice' X-Git-Tag: man-pages-5.11~196 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb5d2db62e981f3dfee6ec5fa9f99b932ecf5adf;p=thirdparty%2Fman-pages.git process_madvise.2: Consistently use the term 'advice' 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 --- diff --git a/man2/process_madvise.2 b/man2/process_madvise.2 index dc654ed04c..2b900491be 100644 --- a/man2/process_madvise.2 +++ b/man2/process_madvise.2 @@ -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.