aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-10-13 12:19:51 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-10-17 14:04:11 +0200
commit8f5484f8b6f5a31a1b56e0e5c78c2768606cbfd9 (patch)
tree3b07a3f7818679e4ecdf714ac28429415ef61c4b
parente956ced871ef948a85fca1eaf7c52fa60f4b5215 (diff)
downloadman-pages-8f5484f8b6f5a31a1b56e0e5c78c2768606cbfd9.tar.gz
mprotect.2: CONFORMING TO: note that pkey_mprotect() is Linux-specific
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/mprotect.24
1 files changed, 4 insertions, 0 deletions
diff --git a/man2/mprotect.2 b/man2/mprotect.2
index 16457cb59a..dd1b93076c 100644
--- a/man2/mprotect.2
+++ b/man2/mprotect.2
@@ -136,6 +136,7 @@ in the middle of a region currently protected as
would result in three mappings:
two read/write mappings at each end and a read-only mapping in the middle.)
.SH CONFORMING TO
+.BR mprotect ():
POSIX.1-2001, POSIX.1-2008, SVr4.
.\" SVr4 defines an additional error
.\" code EAGAIN. The SVr4 error conditions don't map neatly onto Linux's.
@@ -144,6 +145,9 @@ POSIX says that the behavior of
is unspecified if it is applied to a region of memory that
was not obtained via
.BR mmap (2).
+
+.BR pkey_mprotect ()
+is a nonportable Linux extension.
.SH NOTES
On Linux, it is always permissible to call
.BR mprotect ()