Re: [PATCH v2] powerpc: Default to enabling STRICT_KERNEL_RWX
From: Michael Ellerman
Date: Tue Oct 10 2017 - 06:35:37 EST
Kees Cook <keescook@xxxxxxxxxxxx> writes:
> When available, CONFIG_KERNEL_RWX should be default-enabled for PPC64.
> On PPC32, there is a performance trade-off.
Thanks for prodding us. But I think we need some more test cycles on
this before we make it the default.
As Balbir said it's currently not compatible with RELOCATABLE, which
means most folks aren't enabling it.
We also don't have good numbers on what the performance impact is on
64-bit. So although it almost certainly should be the default in future,
I'd still like us to have some idea of what it's costing us.
I'll try and get some perf numbers.
cheers