summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2015-02-08 03:48:26 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2015-02-08 03:48:26 +0000
commitd08bd5cce66030ba38575349275ac97e6c00e170 (patch)
treef7fce19672a837189eb2ede303352726901d01a4
parent25de92d31cafc05210b7536aa628a65d90852432 (diff)
Hilarious! We are not ready yet for large stack random biases, due to
the stack region handling in uvm.
-rw-r--r--sys/arch/alpha/include/vmparam.h4
-rw-r--r--sys/arch/amd64/include/vmparam.h4
-rw-r--r--sys/arch/sparc64/include/vmparam.h4
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/alpha/include/vmparam.h b/sys/arch/alpha/include/vmparam.h
index 4384b473b5c..90d9f28dcb6 100644
--- a/sys/arch/alpha/include/vmparam.h
+++ b/sys/arch/alpha/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmparam.h,v 1.26 2015/02/05 23:06:22 deraadt Exp $ */
+/* $OpenBSD: vmparam.h,v 1.27 2015/02/08 03:48:25 deraadt Exp $ */
/* $NetBSD: vmparam.h,v 1.18 2000/05/22 17:13:54 thorpej Exp $ */
/*
@@ -82,7 +82,7 @@
#define MAXSSIZ (32*1024*1024) /* max stack size */
#endif
-#define STACKGAP_RANDOM 2*1024*1024
+#define STACKGAP_RANDOM 256*1024
/*
* PTEs for mapping user space into the kernel for physio operations.
diff --git a/sys/arch/amd64/include/vmparam.h b/sys/arch/amd64/include/vmparam.h
index 883d4c9e7cf..fc84f9ca3d3 100644
--- a/sys/arch/amd64/include/vmparam.h
+++ b/sys/arch/amd64/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmparam.h,v 1.20 2015/02/05 23:06:22 deraadt Exp $ */
+/* $OpenBSD: vmparam.h,v 1.21 2015/02/08 03:48:25 deraadt Exp $ */
/* $NetBSD: vmparam.h,v 1.1 2003/04/26 18:39:49 fvdl Exp $ */
/*-
@@ -72,7 +72,7 @@
#define MAXSSIZ ((paddr_t)32*1024*1024) /* max stack size */
#endif
-#define STACKGAP_RANDOM 2*1024*1024
+#define STACKGAP_RANDOM 256*1024
/*
* Size of shared memory map
diff --git a/sys/arch/sparc64/include/vmparam.h b/sys/arch/sparc64/include/vmparam.h
index 157e94498f0..65b9f930b9e 100644
--- a/sys/arch/sparc64/include/vmparam.h
+++ b/sys/arch/sparc64/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmparam.h,v 1.29 2015/02/05 23:06:22 deraadt Exp $ */
+/* $OpenBSD: vmparam.h,v 1.30 2015/02/08 03:48:25 deraadt Exp $ */
/* $NetBSD: vmparam.h,v 1.18 2001/05/01 02:19:19 thorpej Exp $ */
/*
@@ -84,7 +84,7 @@
#define MAXSSIZ (32L*1024*1024) /* max stack size */
#endif
-#define STACKGAP_RANDOM 2*1024*1024
+#define STACKGAP_RANDOM 256*1024
/*
* Size of shared memory map