HomeFreeBSD

Clarify vm_map_protect max_protection downgrade

Description

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

Details

Committed
emasteJun 20 2019, 6:30 PM
Parents
rS349240: Extend mmap/mprotect API to specify the max page protections.
Branches
Unknown
Tags
Unknown