Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-6]: src/sys/uvm Pull up revision 1.57 (requested by thorpej in ...
details: https://anonhg.NetBSD.org/src/rev/a6992939b0ee
branches: netbsd-1-6
changeset: 529393:a6992939b0ee
user: he <he%NetBSD.org@localhost>
date: Mon Nov 18 01:29:48 2002 +0000
description:
Pull up revision 1.57 (requested by thorpej in ticket #675):
Don't pass VM_PROT_EXEC to pmap_kenter_pa().
diffstat:
sys/uvm/uvm_km.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 0a04b74096fd -r a6992939b0ee sys/uvm/uvm_km.c
--- a/sys/uvm/uvm_km.c Mon Nov 18 01:25:40 2002 +0000
+++ b/sys/uvm/uvm_km.c Mon Nov 18 01:29:48 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_km.c,v 1.56 2002/03/07 20:15:32 thorpej Exp $ */
+/* $NetBSD: uvm_km.c,v 1.56.8.1 2002/11/18 01:29:48 he Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -134,7 +134,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_km.c,v 1.56 2002/03/07 20:15:32 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_km.c,v 1.56.8.1 2002/11/18 01:29:48 he Exp $");
#include "opt_uvmhist.h"
@@ -457,7 +457,7 @@
if (obj == NULL) {
pmap_kenter_pa(loopva, VM_PAGE_TO_PHYS(pg),
- VM_PROT_ALL);
+ VM_PROT_READ | VM_PROT_WRITE);
} else {
pmap_enter(map->pmap, loopva, VM_PAGE_TO_PHYS(pg),
UVM_PROT_ALL,
Home |
Main Index |
Thread Index |
Old Index