Date: Wed, 26 Feb 2020 18:46:42 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r358344 - head/lib/libc/sys Message-ID: <202002261846.01QIkgdf034213@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 ,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002261846.01QIkgdf034213>