Hello! I am running Gentoo hardened amd64 and grsecurity/PaX-enabled kernel 2.6.38: (2.6.38-hardened-r6-Plasma #1 SMP Wed Jul 27 19:44:47 MSD 2011 x86_64 Pentium(R) Dual-Core CPU E5300 @ 2.60GHz GenuineIntel GNU/Linux). However, grsecurity RBAC is disabled in kernel config but PaX features are enabled (kernel config provided below). Also I have JFS filesystem on my /usr, /var and /. They are LVM volumes over software(dm) RAID-5 over 4 harddrives. The issue happens when I'm running ls -la /usr/bin: ~ # ls -la /usr/bin/ Killed It just returns this "Killed". Parts of log messages from kern.log and pax.log attached below. The PaX system complains about memory leak attempt, but running "ls -la /" or "ls -la /var/log" or even "ls -la /usr" and "ls -la /usr/src" causes no problems, which is weird. Another issue happens with AIDE. If I specify any directory one level below of /usr like "/usr/bin" it fails to create database with the same "Killed", but when I use syntax like "/usr//bin" everything is OK. With two levels below like "/usr/local/bin" everything is ok. The produced traces and errors are word-to-word identical so this issues are seem to be connected.
Created attachment 68382 [details] Part of kern.log with ls and aide
Created attachment 68392 [details] Line from pax.log which is identical for aide and ls
Created attachment 68402 [details] Kernel config Ready to provide any additional info if needed.
Hello. Tested today with 2.6.39.3 with the same PaX config options as in previous config from 2.6.38. Everything works smoothly. No errors at all. Seems to be fixed. Good luck!