kernel: enable CONFIG_DEBUG_WX on aarch64
Commit Message
Since this is described as 'Generate a warning if any W+X mappings are
found at boot.', it most likely does not break anything and can be
safely enabled.
Fixes: #12373
Cc: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
---
config/kernel/kernel.config.aarch64-ipfire | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
Acked-by: Michael Tremer <michael.tremer@ipfire.org>
> On 18 Apr 2020, at 09:16, Peter Müller <peter.mueller@ipfire.org> wrote:
>
> Since this is described as 'Generate a warning if any W+X mappings are
> found at boot.', it most likely does not break anything and can be
> safely enabled.
>
> Fixes: #12373
>
> Cc: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
> Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
> ---
> config/kernel/kernel.config.aarch64-ipfire | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/config/kernel/kernel.config.aarch64-ipfire b/config/kernel/kernel.config.aarch64-ipfire
> index 32ad2df07..eb914365f 100644
> --- a/config/kernel/kernel.config.aarch64-ipfire
> +++ b/config/kernel/kernel.config.aarch64-ipfire
> @@ -6572,7 +6572,7 @@ CONFIG_IO_STRICT_DEVMEM=y
> # CONFIG_ARM64_PTDUMP_DEBUGFS is not set
> # CONFIG_PID_IN_CONTEXTIDR is not set
> # CONFIG_ARM64_RANDOMIZE_TEXT_OFFSET is not set
> -# CONFIG_DEBUG_WX is not set
> +CONFIG_DEBUG_WX=y
> CONFIG_DEBUG_ALIGN_RODATA=y
> # CONFIG_ARM64_RELOC_TEST is not set
> # CONFIG_CORESIGHT is not set
> --
> 2.16.4
@@ -6572,7 +6572,7 @@ CONFIG_IO_STRICT_DEVMEM=y
# CONFIG_ARM64_PTDUMP_DEBUGFS is not set
# CONFIG_PID_IN_CONTEXTIDR is not set
# CONFIG_ARM64_RANDOMIZE_TEXT_OFFSET is not set
-# CONFIG_DEBUG_WX is not set
+CONFIG_DEBUG_WX=y
CONFIG_DEBUG_ALIGN_RODATA=y
# CONFIG_ARM64_RELOC_TEST is not set
# CONFIG_CORESIGHT is not set