diff options
author | 2005-04-11 15:12:59 +0000 | |
---|---|---|
committer | 2005-04-11 15:12:59 +0000 | |
commit | a489ea08ec917a833c5bdc423fc8b200c27eccdd (patch) | |
tree | 49a37265e77deab0ebd4bacf282cad76338a50e6 /sys/arch/i386/include/vmparam.h | |
parent | Check for asprintf failure. From Bruno Rohee (thank you). (diff) | |
download | wireguard-openbsd-a489ea08ec917a833c5bdc423fc8b200c27eccdd.tar.xz wireguard-openbsd-a489ea08ec917a833c5bdc423fc8b200c27eccdd.zip |
use MD #define to choose stackgap size per-architecture. on sparc, special
case sun4c/sun4 -- because address space is more constrained
Diffstat (limited to 'sys/arch/i386/include/vmparam.h')
-rw-r--r-- | sys/arch/i386/include/vmparam.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/i386/include/vmparam.h b/sys/arch/i386/include/vmparam.h index 37cec70aee7..d3674657810 100644 --- a/sys/arch/i386/include/vmparam.h +++ b/sys/arch/i386/include/vmparam.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmparam.h,v 1.30 2004/11/28 01:36:38 mickey Exp $ */ +/* $OpenBSD: vmparam.h,v 1.31 2005/04/11 15:13:01 deraadt Exp $ */ /* $NetBSD: vmparam.h,v 1.15 1994/10/27 04:16:34 cgd Exp $ */ /*- @@ -72,6 +72,8 @@ #define MAXSSIZ (32*1024*1024) /* max stack size */ #endif +#define STACKGAP_RANDOM 256*1024 + /* I386 has a line where all code is executable: 0 - I386_MAX_EXE_ADDR */ #define I386_MAX_EXE_ADDR 0x20000000 /* exec line */ |