Clarify vm_map_protect max_protection downgrade
As reported in review D20709 by brooks calling vm_map_protect to set a new max_protection value downgrades existing mappings if necessary (as opposed to returning an error). Reported by: brooks MFC after: 1 week Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
74a1b66cf4
commit
cb53797473
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=349241
@ -64,7 +64,12 @@ is TRUE,
|
||||
is treated as the new
|
||||
.Va max_protection
|
||||
setting for each underlying entry.
|
||||
Otherwise, only the
|
||||
Protection bits not included
|
||||
.Fa new_prot
|
||||
will be cleared from existing entries.
|
||||
If
|
||||
.Fa set_max
|
||||
is FALSE only the
|
||||
.Va protection
|
||||
field is affected.
|
||||
.Pp
|
||||
|
Loading…
Reference in New Issue
Block a user