paxctl -zs on P4 with SEGMEXEC
Posted: Wed Aug 04, 2010 7:19 pm
On a X86 P4 Gentoo 2.6.34-hardened-r1 system (essentially grsecurity-2.2.0-2.6.34.1-201007162107.patch), I configured SEGMEXEC but not PAGEEXEC, as suggested for performance reasons. Now, while looking for the cause why gdb-7.1 does evaluate breakpoint addressed correctly any more, I selectively disabled PaX flags via paxctl. When using paxctl -zs on the target, the program gets killed vial signal 9 already during it's startup phase. Me thinks this may be an inconsistent use case not handled properly. paxctl -zms <target> leads to a working target and brings back correct gdb breakpoint addresses. There is nothing about it in dmesg. The identically configured 2.6.32.16-grsec kernel shows the same problem. I don't suppose that this is a problem whithin ld-2.11.2.so?