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
0165ccc850
commit
5460546183
@ -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