summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2009-04-11 22:34:08 +0000
committerAlan Cox <alc@FreeBSD.org>2009-04-11 22:34:08 +0000
commitb9519926e642938c61ee949329c27124e492e978 (patch)
treea407867013ad224225071c3ad53c6d76fe1a1bf6
parent78b5071407e7f59724b2c3d3a4bd9f5cca1f0794 (diff)
Notes
-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 cd98be975e34..6bb991742929 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;