Grsec kills Glibc 2.3.4
Posted: Sun Feb 27, 2005 12:22 pm
I'm running kernel 2.6.10 with grsec patches (gentoo's 2.6.10-hardened-r3). I have deactivated all PaX protections on /lib/ld-linux.so.2 (a symlink to ld-2.3.4.so), but when I try to run it, it gets killed instantly. If I reboot into vanilla 2.6.10, ld-linux.so.2 runs normally, and is not killed. How can I make grsec/pax stop killing ld-linux.so.2?
Here's what happens when I try to run it:
And here's the output of paxctl as proof that I've deactivated all the PaX restrictions.
Also, I tried changing the execstack setting, but this has not had any effect:
Why is grsec killing ld-2.3.4.so?
Here's what happens when I try to run it:
- Code: Select all
plan9 root # /lib/ld-linux.so.2
Killed
And here's the output of paxctl as proof that I've deactivated all the PaX restrictions.
- Code: Select all
- PaX flags: -p-s-m-xE--r [/lib/ld-linux.so.2]
PAGEEXEC is disabled
SEGMEXEC is disabled
MPROTECT is disabled
RANDEXEC is disabled
EMUTRAMP is enabled
RANDMMAP is disabled
Also, I tried changing the execstack setting, but this has not had any effect:
- Code: Select all
bash-2.05b$ execstack -q /lib/ld-linux.so.2
X /lib/ld-linux.so.2
Why is grsec killing ld-2.3.4.so?