summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/vm/vm_unix.c')
-rw-r--r--sys/vm/vm_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_unix.c b/sys/vm/vm_unix.c
index cd98be9..6bb9917 100644
--- a/sys/vm/vm_unix.c
+++ b/sys/vm/vm_unix.c
@@ -117,7 +117,7 @@ obreak(td, uap)
goto done;
}
rv = vm_map_insert(&vm->vm_map, NULL, 0, old, new,
- VM_PROT_ALL, VM_PROT_ALL, 0);
+ VM_PROT_RW, VM_PROT_ALL, 0);
if (rv != KERN_SUCCESS) {
error = ENOMEM;
goto done;
OpenPOWER on IntegriCloud