summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2019-01-03 18:59:27 +0000
committerderaadt <deraadt@openbsd.org>2019-01-03 18:59:27 +0000
commitaa12befff79dd77d7da03dda3a124b25c992c6d2 (patch)
tree7aa60ffb1e254b79f3a6d78412fd675ee9db77bd
parentFix .end symbol. (diff)
downloadwireguard-openbsd-aa12befff79dd77d7da03dda3a124b25c992c6d2.tar.xz
wireguard-openbsd-aa12befff79dd77d7da03dda3a124b25c992c6d2.zip
Crank MAXTSIZ to next pow2 (256MB) because a few piggy binaries
compiled with retpoline enabled are even piggier now. diagnosed with robert kettenis and drahn
-rw-r--r--sys/arch/amd64/include/vmparam.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/include/vmparam.h b/sys/arch/amd64/include/vmparam.h
index fc84f9ca3d3..fae0eeec8bd 100644
--- a/sys/arch/amd64/include/vmparam.h
+++ b/sys/arch/amd64/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmparam.h,v 1.21 2015/02/08 03:48:25 deraadt Exp $ */
+/* $OpenBSD: vmparam.h,v 1.22 2019/01/03 18:59:27 deraadt Exp $ */
/* $NetBSD: vmparam.h,v 1.1 2003/04/26 18:39:49 fvdl Exp $ */
/*-
@@ -55,7 +55,7 @@
/*
* Virtual memory related constants, all in bytes
*/
-#define MAXTSIZ ((paddr_t)128*1024*1024) /* max text size */
+#define MAXTSIZ ((paddr_t)256*1024*1024) /* max text size */
#ifndef DFLDSIZ
#define DFLDSIZ ((paddr_t)128*1024*1024) /* initial data size limit */
#endif