From: deraadt Date: Tue, 24 Jan 2023 00:16:08 +0000 (+0000) Subject: oops, a silly typo X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=72ccc03bd11da614f31f7ff76e3f6fce99bc1c79;p=openbsd oops, a silly typo --- 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.