diff options
-rw-r--r-- | sys/kern/imgact_elf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/imgact_elf.c b/sys/kern/imgact_elf.c index b51e7d7..7fd6a64 100644 --- a/sys/kern/imgact_elf.c +++ b/sys/kern/imgact_elf.c @@ -303,7 +303,7 @@ __elfN(map_insert)(vm_map_t map, vm_object_t object, vm_ooffset_t offset, * to copy the data. Sigh. */ rv = vm_map_find(map, NULL, 0, &start, end - start, - FALSE, prot, max, 0); + FALSE, prot | VM_PROT_WRITE, max, 0); if (rv) return (rv); if (object == NULL) |