]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - arch/arm64/Kconfig.debug
arch: Move CONFIG_DEBUG_RODATA and CONFIG_SET_MODULE_RONX to be common
[mirror_ubuntu-bionic-kernel.git] / arch / arm64 / Kconfig.debug
index d1ebd46872fdf746b1f2c84e0af3959522051009..939815e8d695444d24ddcd13c1d9c5d5fc204c08 100644 (file)
@@ -71,17 +71,6 @@ config DEBUG_WX
 
          If in doubt, say "Y".
 
-config DEBUG_SET_MODULE_RONX
-       bool "Set loadable kernel module data as NX and text as RO"
-       depends on MODULES
-       default y
-       help
-         Is this is set, kernel module text and rodata will be made read-only.
-         This is to help catch accidental or malicious attempts to change the
-         kernel's executable code.
-
-         If in doubt, say Y.
-
 config DEBUG_ALIGN_RODATA
        depends on DEBUG_RODATA
        bool "Align linker sections up to SECTION_SIZE"