patch-2.4.23 linux-2.4.23/include/asm-ia64/resource.h
Next file: linux-2.4.23/include/asm-ia64/sal.h
Previous file: linux-2.4.23/include/asm-ia64/ptrace_offsets.h
Back to the patch index
Back to the overall index
-  Lines: 18
-  Date:
2003-11-28 10:26:21.000000000 -0800
-  Orig file: 
linux-2.4.22/include/asm-ia64/resource.h
-  Orig date: 
2000-09-22 14:21:19.000000000 -0700
diff -urN linux-2.4.22/include/asm-ia64/resource.h linux-2.4.23/include/asm-ia64/resource.h
@@ -8,6 +8,8 @@
  * Copyright (C) 1998, 1999 David Mosberger-Tang <davidm@hpl.hp.com>
  */
 
+#include <asm/ustack.h>
+
 #define RLIMIT_CPU	0		/* CPU time in ms */
 #define RLIMIT_FSIZE	1		/* Maximum filesize */
 #define RLIMIT_DATA	2		/* max data size */
@@ -35,7 +37,7 @@
 	{ RLIM_INFINITY, RLIM_INFINITY },		\
 	{ RLIM_INFINITY, RLIM_INFINITY },		\
 	{ RLIM_INFINITY, RLIM_INFINITY },		\
-	{      _STK_LIM, RLIM_INFINITY },		\
+	{      _STK_LIM, DEFAULT_USER_STACK_SIZE },	\
 	{             0, RLIM_INFINITY },		\
 	{ RLIM_INFINITY, RLIM_INFINITY },		\
 	{             0,             0 },		\
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)