diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2009-10-22 18:20:22 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2009-10-22 18:20:22 +0000 |
commit | 11dffbaa9f31653b22f9471ca3c4c642b5c730ff (patch) | |
tree | 194d38b9416ec523cc746a020ffbeb12ecffc1c1 /sys/arch/mips64/include | |
parent | 9695f68044f5dd64615a9fba07cc57fffcda17db (diff) |
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...
Diffstat (limited to 'sys/arch/mips64/include')
-rw-r--r-- | sys/arch/mips64/include/vmparam.h | 4 |
1 files changed, 2 insertions, 2 deletions
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) |