Recommended kernel options for grsec + xen (as dom0)

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

Recommended kernel options for grsec + xen (as dom0)

Postby strav » Mon Mar 26, 2012 10:28 pm

Hi. I'm currently trying to harden a 3.2.13 kernel that would serve as dom0 for xen virtualisation. From what I've gathered in other posts, it seems that the sole option to be disabled in order to ensure that xen properly works as dom0 is KERNEXEC. In my .config however, the only option that's close to KERNEXEC is CONFIG_PAX_KERNEXEC_PLUGIN_METHOD=""; is there anything I should set here (or elsewhere)? Besides, when trying to launch xend, I'm getting an error stating that there's nothing to be found in /proc/xen ... can this be due to CONFIG_GRKERNSEC_PROC=Y?

A full list of recommended kernel options to ensure maximal security along with a working xen would greatly be appreciated if you to happen to have something in this vein.

thanks!

Mathieu
strav
 
Posts: 1
Joined: Mon Mar 26, 2012 10:16 pm

Re: Recommended kernel options for grsec + xen (as dom0)

Postby PaX Team » Tue Mar 27, 2012 5:27 am

strav wrote:Hi. I'm currently trying to harden a 3.2.13 kernel that would serve as dom0 for xen virtualisation. From what I've gathered in other posts, it seems that the sole option to be disabled in order to ensure that xen properly works as dom0 is KERNEXEC.
UDEREF is another feature that won't work in Xen, both of these already depend on !XEN so you can't select them. for everything else, feel free to give them a try ;).
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm


Return to grsecurity support