summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2017-09-06 04:44:40 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2017-09-06 04:44:40 +0000
commitcc05788d176a9d72e64383fee84156aae0afdeda (patch)
treede7b2418ef6c015753bfb424cb7ea9e2aa9c589d /sys/arch
parent55bc854d97164f00dbbebf291a2f6989da32fc87 (diff)
bump UPAGES to 6.
deraadt@s stack base randomisation may take away up to a whole page in space, and it is possible that i will take another whole page away in the future as a guard page. this means we continue to provide roughtly the same amount of stack space that has previously been in effect. ok deraadt@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/amd64/include/param.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/include/param.h b/sys/arch/amd64/include/param.h
index 33dab97093c..fa1ac991f34 100644
--- a/sys/arch/amd64/include/param.h
+++ b/sys/arch/amd64/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.23 2016/09/03 14:25:27 bluhm Exp $ */
+/* $OpenBSD: param.h,v 1.24 2017/09/06 04:44:39 dlg Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -68,7 +68,7 @@
#define PGSHIFT PAGE_SHIFT /* LOG2(PAGE_SIZE) */
#define PGOFSET PAGE_MASK /* byte offset into page */
-#define UPAGES 5 /* pages of u-area */
+#define UPAGES 6 /* pages of u-area */
#define USPACE (UPAGES * PAGE_SIZE) /* total size of u-area */
#define USPACE_ALIGN 0 /* u-area alignment 0-none */