diff options
-rw-r--r-- | sys/uvm/uvm_map.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/uvm/uvm_map.c b/sys/uvm/uvm_map.c index 95a7fb2ab4d..f99ac269303 100644 --- a/sys/uvm/uvm_map.c +++ b/sys/uvm/uvm_map.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_map.c,v 1.306 2023/01/24 00:14:30 deraadt Exp $ */ +/* $OpenBSD: uvm_map.c,v 1.307 2023/01/24 00:16:08 deraadt Exp $ */ /* $NetBSD: uvm_map.c,v 1.86 2000/11/27 08:40:03 chs Exp $ */ /* @@ -4471,7 +4471,7 @@ uvm_map_extract(struct vm_map *srcmap, vaddr_t start, vsize_t len, kernel_map->size += cp_len; if (flags & UVM_EXTRACT_FIXPROT) newentry->protection = newentry->max_protection & - ~PROT_MAX; + ~PROT_EXEC; /* * Step 2: perform pmap copy. |