svn commit: r358344 - head/lib/libc/sys
Ed Maste
emaste at FreeBSD.org
Wed Feb 26 18:46:43 UTC 2020
Author: emaste
Date: Wed Feb 26 18:46:41 2020
New Revision: 358344
URL: https://svnweb.freebsd.org/changeset/base/358344
Log:
mprotect.2: sort errors alphabetically
Reported by: brooks
MFC after: 3 days
Modified:
head/lib/libc/sys/mprotect.2
Modified: head/lib/libc/sys/mprotect.2
==============================================================================
--- head/lib/libc/sys/mprotect.2 Wed Feb 26 18:12:12 2020 (r358343)
+++ head/lib/libc/sys/mprotect.2 Wed Feb 26 18:46:41 2020 (r358344)
@@ -88,6 +88,12 @@ The
.Fn mprotect
system call will fail if:
.Bl -tag -width Er
+.It Bq Er EACCES
+The calling process was not allowed to change
+the protection to the value specified by
+the
+.Fa prot
+argument.
.It Bq Er EINVAL
The virtual address range specified by the
.Fa addr
@@ -103,12 +109,6 @@ The
.Fa prot
argument contains permissions which are not a subset of the specified
maximum permissions.
-.It Bq Er EACCES
-The calling process was not allowed to change
-the protection to the value specified by
-the
-.Fa prot
-argument.
.El
.Sh SEE ALSO
.Xr madvise 2 ,
More information about the svn-src-all
mailing list