Skip to contentSkip to conversation

PaX and SELinux

DISCUSSION Mario Fanelli 2 participants 2 messages Jun 13, 2006 SELinux security module

lore
Share & tools
lore
#0 lore raw

I found a PaX security class in refpolicy but I have a little doubt..If I compile a kernel with SELinux, at the same time the kernel has installed PaX system (pax.grsecurity.net)?
So I can set pax flag using this security class?

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#1 lore raw
Quoted 4 lines · Mario Fanelli

I found a PaX security class in refpolicy but I have a little doubt..If I compile a kernel with SELinux, at the same time the kernel has installed PaX system (pax.grsecurity.net)? So I can set pax flag using this security class?

This object class was used to control pax options before other memory protections were available to SELinux. The patch hasn't been used or available for quite some time so the object class is more or less deprecated.

However, if you have pax enabled on the system the SELinux memory permissions (execstack, execmem, etc) should be enforced by pax. Address space randomization and other pax options aren't available in policy anymore though.

Joshua

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.