git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git]
/
include
/
linux
/
resource.h
diff --git
a/include/linux/resource.h
b/include/linux/resource.h
index
14757af
..
21a86cb
100644
(file)
--- a/
include/linux/resource.h
+++ b/
include/linux/resource.h
@@
-3,8
+3,6
@@
#include <linux/time.h>
#include <linux/time.h>
-struct task_struct;
-
/*
* Resource control/accounting header file for linux
*/
/*
* Resource control/accounting header file for linux
*/
@@
-54,11
+52,8
@@
struct rlimit {
/*
* Limit the stack by to some sane default: root can always
* increase this limit if needed.. 8MB seems reasonable.
/*
* 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 (10*1024*1024)
-#define EXEC_STACK_BIAS (2*1024*1024)
+#define _STK_LIM (8*1024*1024)
/*
* GPG wants 32kB of mlocked memory, to make sure pass phrases
/*
* GPG wants 32kB of mlocked memory, to make sure pass phrases
@@
-72,6
+67,4
@@
struct rlimit {
*/
#include <asm/resource.h>
*/
#include <asm/resource.h>
-int getrusage(struct task_struct *p, int who, struct rusage __user *ru);
-
#endif
#endif