|
From: Igmar P. <mai...@jd...> - 2004-10-10 15:19:46
|
Hi, In coregrind/vg_main.c, around line 2790 : // Get the current process datasize rlimit, and set it to zero. // This prevents any internal uses of brk() from having any effect. // We remember the old value so we can restore it on exec, so that // child processes will have a reasonable brk value. VG_(getrlimit)(VKI_RLIMIT_DATA, &VG_(client_rlimit_data)); zero.rlim_max = VG_(client_rlimit_data).rlim_max; VG_(setrlimit)(VKI_RLIMIT_DATA, &zero); The limit actually get's set, but is never raised. This triggers grsec, which rightfully complains that later allocations in the data segment exceed the existing limits. This might be worth looking in to. Regards, Igmar |