grsec2 patch (for 2.6) breaks valgrind

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

grsec2 patch (for 2.6) breaks valgrind

Postby aldem » Fri Mar 19, 2004 4:14 am

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.
aldem
 
Posts: 7
Joined: Tue May 27, 2003 11:12 am

Re: grsec2 patch (for 2.6) breaks valgrind

Postby PaX Team » Sun Mar 21, 2004 7:09 pm

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().
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm


Return to grsecurity support

cron