# \[PATCHv2 2/2\] arch: Rename CONFIG\_DEBUG\_RODATA and CONFIG\_DEBUG\_MODULE\_RONX

- From: Kees Cook \<hidden\>
- Date: 2017-02-03 20:03:21 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2017/02/4927091
- Thread: https://ratatoskr.run/linux-arm-kernel/2017/02/4926985/t.md

```text
On Fri, Feb 3, 2017 at 9:52 AM, Laura Abbott [ref] wrote:
>
> Both of these options are poorly named. The features they provide are
> necessary for system security and should not be considered debug only.
> Change the name to something that accurately describes what these
> options do.

It may help to explicitly call out the name change from/to in the
commit message.

>
> Signed-off-by: Laura Abbott <redacted>
> ---
> [...]
> diff --git a/arch/arm/configs/aspeed_g4_defconfig b/arch/arm/configs/aspeed_g4_defconfig
> index ca39c04..beea2cc 100644
> --- a/arch/arm/configs/aspeed_g4_defconfig
> +++ b/arch/arm/configs/aspeed_g4_defconfig
> @@ -25,7 +25,6 @@ CONFIG_MODULE_UNLOAD=y
>  # CONFIG_ARCH_MULTI_V7 is not set
>  CONFIG_ARCH_ASPEED=y
>  CONFIG_MACH_ASPEED_G4=y
> -CONFIG_DEBUG_RODATA=y
>  CONFIG_AEABI=y
>  CONFIG_UACCESS_WITH_MEMCPY=y
>  CONFIG_SECCOMP=y

Are these defconfig cases correct (dropping DEBUG_RODATA without
adding STRICT_KERNEL_RWX)?

Who should carry this series, btw?

-Kees

-- 
Kees Cook
Pixel Security
```
