From cc05788d176a9d72e64383fee84156aae0afdeda Mon Sep 17 00:00:00 2001 From: David Gwynne Date: Wed, 6 Sep 2017 04:44:40 +0000 Subject: 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@ --- sys/arch/amd64/include/param.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/amd64/include') 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 */ -- cgit v1.2.3