Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git] / include / linux / resource.h
index 21a86cb..b3bc5fd 100644 (file)
@@ -52,8 +52,11 @@ struct rlimit {
 /*
  * Limit the stack by to some sane default: root can always
  * increase this limit if needed..  8MB seems reasonable.
+ *
+ * (2MB more to cover randomization effects.)
  */
-#define _STK_LIM       (8*1024*1024)
+#define _STK_LIM       (10*1024*1024)
+#define EXEC_STACK_BIAS        (2*1024*1024)
 
 /*
  * GPG wants 32kB of mlocked memory, to make sure pass phrases