selinux and pax?

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

selinux and pax?

Postby nwmcsween » Mon Apr 07, 2008 5:42 pm

Hi would it be possible to use selinux and pax together I know selinux uses some form of exec-shield but is there any way to make selinux use pax instead or just enabling the options selinux doesn't cover?
nwmcsween
 
Posts: 4
Joined: Thu May 31, 2007 10:19 pm

Re: selinux and pax?

Postby cormander » Mon Apr 07, 2008 9:35 pm

As far as I understand, the exec-sheild kernel patch is separate from SELinux; vendors such as redhat just happen to use both of them in their kernels.

Since SELinux is in the vanilla kernel and execshield is not, just patch a vanilla kernel with the pax-linux patch and enable the various SELinux / PaX options. They should work just fine.
cormander
 
Posts: 154
Joined: Tue Jan 29, 2008 12:51 pm

Re: selinux and pax?

Postby PaX Team » Tue Apr 08, 2008 9:42 am

nwmcsween wrote:Hi would it be possible to use selinux and pax together I know selinux uses some form of exec-shield but is there any way to make selinux use pax instead or just enabling the options selinux doesn't cover?
of course you can use them together, there's no conflict between the two (well, except some newer features that for some reason were stuffed into LSM, the MPROTECT/UDEREF like ones). what you will miss is the integration as in grsec or RSBAC where the access control system can be used to control the PaX flags. there used to be such a patch for SELinux as well (by Joshua Brindle, google should find the traces) but i think it got bitrot and noone maintains it anymore.
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm


Return to grsecurity support