artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6f8eb8
)
oops, brain scrambled trying to squeeze the ifdef into bad place
author
deraadt
<deraadt@openbsd.org>
Sun, 21 Jan 2024 00:26:14 +0000
(
00:26
+0000)
committer
deraadt
<deraadt@openbsd.org>
Sun, 21 Jan 2024 00:26:14 +0000
(
00:26
+0000)
sys/uvm/uvm_map.c
patch
|
blob
|
history
diff --git
a/sys/uvm/uvm_map.c
b/sys/uvm/uvm_map.c
index
c877457
..
e74948b
100644
(file)
--- a/
sys/uvm/uvm_map.c
+++ b/
sys/uvm/uvm_map.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: uvm_map.c,v 1.32
2 2024/01/21 00:23:29
deraadt Exp $ */
+/* $OpenBSD: uvm_map.c,v 1.32
3 2024/01/21 00:26:14
deraadt Exp $ */
/* $NetBSD: uvm_map.c,v 1.86 2000/11/27 08:40:03 chs Exp $ */
/*
@@
-3149,7
+3149,7
@@
uvm_map_protect(struct vm_map *map, vaddr_t start, vaddr_t end,
if (iter->protection == (PROT_READ | PROT_WRITE) &&
new_prot == PROT_READ) {
/* Permit RW to R as a data-locking mechanism */
-
goto ok
;
+ ;
} else
#endif
{