Hi,
I'm using RedHat 8.0 and grsecurity 1.9.8. I'm able to use grsecurity up to configuring ACL. What I did was to append (in /etc/grsec/acl):
/usr/sbin/httpd l {
}
run gradm -E, and then run the httpd init script, /etc/rc.d/init.d/httpd start. After some time, I run:
/etc/rc.d/init.d/httpd stop
gradm -D
gradm -L -O /etc/grsec/acl
In that acl file, I found (in addition to the default from the gradm):
/usr/sbin/httpd l {
}
/usr/sbin/httpd o {
/var/log/httpd/error_log ra
/var/log/httpd/access_log a
/ r
/opt rx
/home rxw
/mnt rw
/dev
/dev/urandom r
/dev/random r
/dev/zero rw
/dev/input rw
/dev/psaux rw
/dev/null rw
/dev/tty0 rw
/dev/tty1 rw
/dev/tty2 rw
/dev/tty3 rw
/dev/tty4 rw
/dev/tty5 rw
/dev/tty6 rw
/dev/tty7 rw
/dev/tty8 rw
/dev/console rw
/dev/tty rw
/dev/pts rw
/dev/ptmx rw
/dev/dsp rw
/dev/mixer rw
/dev/ippp0 rw
/dev/ippp1 rw
/dev/ippp2 rw
/dev/ippp3 rw
/dev/ippp4 rw
/dev/ippp5 rw
/dev/ippp6 rw
/dev/ippp7 rw
/dev/initctl rw
/dev/fd0 r
/dev/cdrom r
/dev/mem h
/dev/kmem h
/dev/port h
/bin rx
/sbin rx
/lib rx
/usr rx
/etc rx
/proc rxw
/proc/kcore h
/proc/sys r
/root r
/tmp rw
/var rxw
/var/tmp rw
/var/log r
/boot r
/etc/grsec h
/usr/sbin/httpd x
+CAP_ALL
-CAP_LINUX_IMMUTABLE
-CAP_NET_RAW
-CAP_SYS_MODULE
-CAP_SYS_RAWIO
-CAP_MKNOD
}
I believe I've done something wrong, because /dev/psaux, /dev/dsp and others are also included.