diff options
Diffstat (limited to 'vm/vm_map.c')
-rw-r--r-- | vm/vm_map.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vm/vm_map.c b/vm/vm_map.c index 9f5eb13d..0dec1f20 100644 --- a/vm/vm_map.c +++ b/vm/vm_map.c @@ -1632,7 +1632,8 @@ kern_return_t vm_map_protect( */ if ((current->protection != VM_PROT_NONE) && - (current->wired_access != VM_PROT_NONE)) { + (current->wired_access != VM_PROT_NONE || + map->wiring_required)) { current->wired_access = current->protection; } |