X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Flinux%2Fresource.h;fp=include%2Flinux%2Fresource.h;h=21a86cb6acdb63a95f91da65872b3643d700b2ff;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=14757afef7f0fe1129caba8fa1c68d2498549232;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/include/linux/resource.h b/include/linux/resource.h index 14757afef..21a86cb6a 100644 --- a/include/linux/resource.h +++ b/include/linux/resource.h @@ -3,8 +3,6 @@ #include -struct task_struct; - /* * 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. - * - * (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 @@ -72,6 +67,4 @@ struct rlimit { */ #include -int getrusage(struct task_struct *p, int who, struct rusage __user *ru); - #endif