grsecurity: ensure that PaX ELF markings are enabled

The upstream default is to enable only xattr markings, breaking the
paxmarks facility.
This commit is contained in:
Joachim Fasting 2016-05-02 07:27:29 +02:00
parent 7893cb1aea
commit a69501a936
No known key found for this signature in database
GPG Key ID: 4330820E1E04DCF4
1 changed files with 4 additions and 0 deletions

View File

@ -90,6 +90,10 @@ let
GRKERNSEC y
${grsecMainConfig}
# The paxmarks mechanism relies on ELF header markings, but the default
# grsecurity configuration only enables xattr markings
PAX_PT_PAX_FLAGS y
${if cfg.config.restrictProc then
"GRKERNSEC_PROC_USER y"
else