Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-6]: src/sys/kern Pull up revision 1.7 (requested by thorpej in ...
details: https://anonhg.NetBSD.org/src/rev/0a04b74096fd
branches: netbsd-1-6
changeset: 529392:0a04b74096fd
user: he <he%NetBSD.org@localhost>
date: Mon Nov 18 01:25:40 2002 +0000
description:
Pull up revision 1.7 (requested by thorpej in ticket #674):
Don't pass VM_PROT_EXEC to pmap_kenter_pa().
diffstat:
sys/kern/kern_malloc_debug.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r c9f1859715ba -r 0a04b74096fd sys/kern/kern_malloc_debug.c
--- a/sys/kern/kern_malloc_debug.c Mon Nov 18 01:16:48 2002 +0000
+++ b/sys/kern/kern_malloc_debug.c Mon Nov 18 01:25:40 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_malloc_debug.c,v 1.6 2002/03/08 20:48:40 thorpej Exp $ */
+/* $NetBSD: kern_malloc_debug.c,v 1.6.8.1 2002/11/18 01:25:40 he Exp $ */
/*
* Copyright (c) 1999, 2000 Artur Grabowski <art%openbsd.org@localhost>
@@ -56,7 +56,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_malloc_debug.c,v 1.6 2002/03/08 20:48:40 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_malloc_debug.c,v 1.6.8.1 2002/11/18 01:25:40 he Exp $");
#include <sys/param.h>
#include <sys/proc.h>
@@ -144,7 +144,7 @@
debug_malloc_allocs++;
splx(s);
- pmap_kenter_pa(md->md_va, md->md_pa, VM_PROT_ALL);
+ pmap_kenter_pa(md->md_va, md->md_pa, VM_PROT_READ|VM_PROT_WRITE);
md->md_size = size;
md->md_type = type;
Home |
Main Index |
Thread Index |
Old Index