X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Flinux%2Fresource.h;h=21a86cb6acdb63a95f91da65872b3643d700b2ff;hb=987b0145d94eecf292d8b301228356f44611ab7c;hp=b3bc5fd18d05d164cf9da29d14a83ea4a7b23c1f;hpb=f7ed79d23a47594e7834d66a8f14449796d4f3e6;p=linux-2.6.git diff --git a/include/linux/resource.h b/include/linux/resource.h index b3bc5fd18..21a86cb6a 100644 --- a/include/linux/resource.h +++ b/include/linux/resource.h @@ -52,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