Module Name: src
Committed By: christos
Date: Tue Jan 28 02:51:34 UTC 2014
Modified Files:
src/sys/arch/i386/include: vmparam.h
Log Message:
Cut down MAXDSIZE from 3G to 2.5G otherwise bottomup allocation ends up
supplying an out of bounds hint for sigcode (c001e000 > bf000000). Makes
a.out binaries work again.
To generate a diff of this commit:
cvs rdiff -u -r1.77 -r1.78 src/sys/arch/i386/include/vmparam.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/i386/include/vmparam.h
diff -u src/sys/arch/i386/include/vmparam.h:1.77 src/sys/arch/i386/include/vmparam.h:1.78
--- src/sys/arch/i386/include/vmparam.h:1.77 Sat Jan 25 10:16:50 2014
+++ src/sys/arch/i386/include/vmparam.h Mon Jan 27 21:51:34 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.77 2014/01/25 15:16:50 christos Exp $ */
+/* $NetBSD: vmparam.h,v 1.78 2014/01/28 02:51:34 christos Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -68,7 +68,8 @@
#define DFLDSIZ (256*1024*1024) /* initial data size limit */
#endif
#ifndef MAXDSIZ
-#define MAXDSIZ (3U*1024*1024*1024) /* max data size */
+#define MAXDSIZ (2U*1024*1024*1024 + \
+ 1U* 512*1024*1024) /* 2.5G max data size */
#endif
#ifndef DFLSSIZ
#define DFLSSIZ (2*1024*1024) /* initial stack size limit */