diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2023-01-24 00:16:09 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2023-01-24 00:16:09 +0000 |
commit | 87649d3fae4545b4dfedeba4f3512f0f1c09dcde (patch) | |
tree | 8fd89c791e4a3318b67c7cb31abce0b34ff1dfb1 /sys/uvm/uvm_map.c | |
parent | 88323d6ed28c38c09d7275d9f20912d9fb9f75b9 (diff) |
oops, a silly typo
Diffstat (limited to 'sys/uvm/uvm_map.c')
-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. |