mprotect.2: sort errors alphabetically
Reported by: brooks MFC after: 3 days
This commit is contained in:
parent
c1c4c81fd7
commit
5c6d07fb9c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=358344
@ -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 ,
|
||||
|
Loading…
Reference in New Issue
Block a user