Page 1 of 1

grsec2 patch (for 2.6) breaks valgrind

PostPosted: Fri Mar 19, 2004 4:14 am
by aldem
So it is - because of changes in fs/proc/task_mmu.c (uppercased flags in /proc/pid/maps etc).

One may argue that valgrind should not take into account character case, but... Honestly, I see no real reason for this change, and I was a bit surprised to find out that valgrind doesn't work anymore.

Re: grsec2 patch (for 2.6) breaks valgrind

PostPosted: Sun Mar 21, 2004 7:09 pm
by PaX Team
aldem wrote:Honestly, I see no real reason for this change, and I was a bit surprised to find out that valgrind doesn't work anymore.
it's and #if 1, change it to 0 and off you go. other than that, this patch does serve a purpose: it shows you the VM_MAY* flags as well which are important for mprotect().