]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
process_madvise.2: Describe 6.13 behaviour permitting all madvise flags
authorLorenzo Stoakes <lorenzo.stoakes@oracle.com>
Fri, 29 Nov 2024 16:44:22 +0000 (16:44 +0000)
committerAlejandro Colomar <alx@kernel.org>
Wed, 4 Dec 2024 10:02:45 +0000 (11:02 +0100)
Since Linux 6.13 it has become possible to use all madvise flags when
targeting the calling process.

Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Message-Id: <20241129164422.89837-1-lorenzo.stoakes@oracle.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man2/process_madvise.2

index b78a615531e927430ed5ee8fc4d4a784678de2b1..8dba929a67ae716f2323a329330d6238e7e758fe 100644 (file)
@@ -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