]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man2/mprotect.2
mprotect.2: pkey_mprotect() acts like mprotect() if pkey is set to -1, not 0
[thirdparty/man-pages.git] / man2 / mprotect.2
index 9bb02eb1b33a27b200b676d22630eeb8b19febaf..cbbfd51377fde0ccee9bfda7fee30bf56c9a8804 100644 (file)
@@ -274,7 +274,7 @@ On systems that do not support protection keys in hardware,
 .BR pkey_mprotect ()
 may still be used, but
 .IR pkey
-must be set to 0.
+must be set to -1.
 When called this way, the operation of
 .BR pkey_mprotect ()
 is equivalent to