Skip to contentSkip to conversation

ENV variables for SSB

MODERATED Jon Masters 1 participant 1 message Apr 30, 2018

lore
Share & tools
lore
#0 lore raw

Hi all,

[ this doesn't require kernel changes but impacts distros/userspace ]

When applications use the prctl, some customers may want to disable use of the prctl even at the application level. One thing we're looking at is using an environment variable (set by sysadmin) to tell an application not to use the mitigation. This would enable e.g. a Java deployment to determine their code is trusted and disable mitigation.

Ideally, this would be a standard environment variable, e.g.:

SPEC_CTRL_ENABLE_STORE_BYPASS

(or whatever)

When seen by e.g. OpenJDK, it would /not/ make the mitigation prctl.

Any chance we can agree on something to recommend apps use?

Jon.

P.S. I'm beginning to look at the SELinux angle as well. It might be that we can make setting that prctl conditional on policy, which would also give a sysadmin an override option (e.g. if execmem).

Signature · 1 line
Computer Architect | Sent from my Fedora powered laptop