From: Lorenzo Stoakes Date: Fri, 29 Nov 2024 16:44:22 +0000 (+0000) Subject: process_madvise.2: Describe 6.13 behaviour permitting all madvise flags X-Git-Tag: man-pages-6.10~70 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7148a8cca8d693731d98c09bb7bf9d585a36e695;p=thirdparty%2Fman-pages.git process_madvise.2: Describe 6.13 behaviour permitting all madvise flags Since Linux 6.13 it has become possible to use all madvise flags when targeting the calling process. Reviewed-by: David Hildenbrand Signed-off-by: Lorenzo Stoakes Message-Id: <20241129164422.89837-1-lorenzo.stoakes@oracle.com> Signed-off-by: Alejandro Colomar --- diff --git a/man/man2/process_madvise.2 b/man/man2/process_madvise.2 index b78a61553..8dba929a6 100644 --- a/man/man2/process_madvise.2 +++ b/man/man2/process_madvise.2 @@ -54,7 +54,9 @@ This value must be less than or equal to or accessible via the call .IR sysconf(_SC_IOV_MAX) ). .P -The +If manipulating another process, +or before Linux 6.13, +the .I advice argument is one of the following values: .TP @@ -74,6 +76,10 @@ See See .BR madvise (2). .P +Since Linux 6.13, +when manipulating the calling process, +any advice flag is permitted. +.P The .I flags argument is reserved for future use; currently, this argument must be