[RFC PATCH 2/3] ARM: Kconfig: remove dependence of CONFIG_DEBUG_RODATA on !kexec

Kees Cook keescook at chromium.org
Wed Apr 9 11:14:19 PDT 2014


On Wed, Apr 9, 2014 at 9:50 AM, Nikolay Borisov <Nikolay.Borisov at arm.com> wrote:
>
> Signed-off-by: Nikolay Borisov <Nikolay.Borisov at arm.com>
> ---
>  arch/arm/mm/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig
> index 3c7adea..ed58326 100644
> --- a/arch/arm/mm/Kconfig
> +++ b/arch/arm/mm/Kconfig
> @@ -970,7 +970,7 @@ config ARM_KERNMEM_PERMS
>
>  config DEBUG_RODATA
>         bool "Make kernel text and rodata read-only"
> -       depends on ARM_KERNMEM_PERMS && KEXEC=n && KPROBES=n
> +       depends on ARM_KERNMEM_PERMS && KPROBES=n
>         default y
>         help
>           If this is set, kernel text and rodata will be made read-only.
> --
> 1.8.1.5
>
>

Thanks!

Acked-by: Kees Cook <keescook at chromium.org>

-- 
Kees Cook
Chrome OS Security



More information about the linux-arm-kernel mailing list