freedomofpress / ansible-role-grsecurity

The documentation and build system for the grsecurity kernel maintained by the Freedom of the Press Foundation for SecureDrop
GNU General Public License v2.0
49 stars 13 forks source link

Accommodate for PaX flags in kernel metapackage #90

Closed conorsch closed 7 years ago

conorsch commented 7 years ago

See https://github.com/freedomofpress/securedrop/issues/1245 for context. In summary: we need to ensure that the PaX flags are set correctly on grub binaries prior to running update-grub automatically after installing a new kernel image. Let's drop in a kernel postinst hook in the metapackage, which depends on the linux-image-grsec packages.