Hello.
I am running:
Linux intscan2 2.4.26-grsec #1 SMP Thu Aug 5 15:40:40 EDT 2004 i686 GNU/Linux
on debian.
I've noticed something strange. On going to single user, killall5 does not kill all the processes on the box, in fact it kills no process. I have used chpax and played with the settings, thinking this was a PaX issue, but no combination of seems to let killall5 do it's job. Here are the current settings:
intscan2:/home/lcm/chpax-0.7# ./chpax -v /sbin/killall5
----[ chpax 0.7 : Current flags for /sbin/killall5 (pemrxs) ]----
* Paging based PAGE_EXEC : disabled
* Trampolines : not emulated
* mprotect() : not restricted
* mmap() base : not randomized
* ET_EXEC base : not randomized
* Segmentation based PAGE_EXEC : disabled
I compiled the kernel with the default settings for PaX. All tests wre run with grsecurity disabled.
I've tried running killall5 through strace, but seems like I am hitting a race condition, because that horribly hangs the machine.
Any pointers would be appreciated.
Thanks,
-lcm