arch: Move CONFIG_DEBUG_RODATA and CONFIG_SET_MODULE_RONX to be common
authorLaura Abbott <labbott@redhat.com>
Tue, 7 Feb 2017 00:31:57 +0000 (16:31 -0800)
committerKees Cook <keescook@chromium.org>
Tue, 7 Feb 2017 20:32:52 +0000 (12:32 -0800)
commitad21fc4faa2a1f919bac1073b885df9310dbc581
tree0e72a0b209f7e84daf6a131bdbc673cd60715037
parent0c744ea4f77d72b3dcebb7a8f2684633ec79be88
arch: Move CONFIG_DEBUG_RODATA and CONFIG_SET_MODULE_RONX to be common

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@redhat.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
13 files changed:
Documentation/security/self-protection.txt
arch/Kconfig
arch/arm/Kconfig
arch/arm/Kconfig.debug
arch/arm/mm/Kconfig
arch/arm64/Kconfig
arch/arm64/Kconfig.debug
arch/parisc/Kconfig
arch/parisc/Kconfig.debug
arch/s390/Kconfig
arch/s390/Kconfig.debug
arch/x86/Kconfig
arch/x86/Kconfig.debug