[PATCHv3 1/2] arch: Move CONFIG_DEBUG_RODATA and CONFIG_SET_MODULE_RONX to be common
Ingo Molnar
mingo at kernel.org
Mon Feb 6 23:16:46 PST 2017
* Laura Abbott <labbott at redhat.com> wrote:
>
> There are multiple architectures that support CONFIG_DEBUG_RODATA and
> CONFIG_SET_MODULE_RONX. These options also now have the ability to be
> turned off at runtime. Move these to an architecture independent
> location and make these options def_bool y for almost all of those
> arches.
>
> Signed-off-by: Laura Abbott <labbott at redhat.com>
> ---
> v3: Make these configs selectable for arm. Include some documentation about
> how the setup of the optional Kconfigs work as well. Stop spelling 'kenrel'
> in prompt text.
> ---
> Documentation/security/self-protection.txt | 6 ++++++
> arch/Kconfig | 34 ++++++++++++++++++++++++++++++
> arch/arm/Kconfig | 4 ++++
> arch/arm/Kconfig.debug | 11 ----------
> arch/arm/mm/Kconfig | 12 -----------
> arch/arm64/Kconfig | 5 ++---
> arch/arm64/Kconfig.debug | 11 ----------
> arch/parisc/Kconfig | 1 +
> arch/parisc/Kconfig.debug | 11 ----------
> arch/s390/Kconfig | 5 ++---
> arch/s390/Kconfig.debug | 3 ---
> arch/x86/Kconfig | 5 ++---
> arch/x86/Kconfig.debug | 11 ----------
> 13 files changed, 51 insertions(+), 68 deletions(-)
Acked-by: Ingo Molnar <mingo at kernel.org>
Thanks,
Ingo
More information about the linux-arm-kernel
mailing list