From 11dffbaa9f31653b22f9471ca3c4c642b5c730ff Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Thu, 22 Oct 2009 18:20:22 +0000 Subject: Crank VM_MIN_ADDRESS to prevent userland from being able to mmap zero, forgotten long ago and lingering in one of my trees since then... --- sys/arch/mips64/include/vmparam.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/mips64/include/vmparam.h') diff --git a/sys/arch/mips64/include/vmparam.h b/sys/arch/mips64/include/vmparam.h index 17f75734fc8..5572ee262ed 100644 --- a/sys/arch/mips64/include/vmparam.h +++ b/sys/arch/mips64/include/vmparam.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmparam.h,v 1.16 2008/08/22 10:41:37 kurt Exp $ */ +/* $OpenBSD: vmparam.h,v 1.17 2009/10/22 18:20:21 miod Exp $ */ /* $NetBSD: vmparam.h,v 1.5 1994/10/26 21:10:10 cgd Exp $ */ /* @@ -95,7 +95,7 @@ #define VM_PHYSSEG_NOADD /* user/kernel map constants */ -#define VM_MIN_ADDRESS ((vaddr_t)0x0000000000000000L) +#define VM_MIN_ADDRESS ((vaddr_t)0x0000000000001000L) #define VM_MAXUSER_ADDRESS ((vaddr_t)0x0000000080000000L) #define VM_MAX_ADDRESS ((vaddr_t)0x0000000080000000L) #define VM_MIN_KERNEL_ADDRESS ((vaddr_t)0xffffffffc0000000L) -- cgit v1.2.3