Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/include Cut down MAXDSIZE from 3G to 2.5G othe...
details: https://anonhg.NetBSD.org/src/rev/571700720ed3
branches: trunk
changeset: 793126:571700720ed3
user: christos <christos%NetBSD.org@localhost>
date: Tue Jan 28 02:51:34 2014 +0000
description:
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.
diffstat:
sys/arch/i386/include/vmparam.h | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r c23b74219025 -r 571700720ed3 sys/arch/i386/include/vmparam.h
--- a/sys/arch/i386/include/vmparam.h Tue Jan 28 01:29:35 2014 +0000
+++ b/sys/arch/i386/include/vmparam.h Tue Jan 28 02:51:34 2014 +0000
@@ -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 */
Home |
Main Index |
Thread Index |
Old Index