diff options
author | Mark Rutland <mark.rutland@arm.com> | 2016-05-13 14:20:36 +0300 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2016-05-31 16:23:29 +0300 |
commit | 604c8e676e609da9f17a2abb36f2b2067bb86561 (patch) | |
tree | a2c8e922438d564ad3f7bf4ad788b98dff175ee1 /Kconfig | |
parent | db413b51c0d023b336634ffbf5eb29128245df8d (diff) | |
download | linux-604c8e676e609da9f17a2abb36f2b2067bb86561.tar.xz |
arm64: enable CONFIG_SET_MODULE_RONX by default
The SET_MODULE_RONX protections are effectively the same as the
DEBUG_RODATA protections we enabled by default back in commit
57efac2f7108e325 ("arm64: enable CONFIG_DEBUG_RODATA by default"). It
seems unusual to have one but not the other.
As evidenced by the help text, the rationale appears to be that
SET_MODULE_RONX interacts poorly with tracing and patching, but both of
these make use of the insn framework, which takes SET_MODULE_RONX into
account. Any remaining issues are bugs which should be fixed regardless
of the default state of the option.
This patch enables DEBUG_SET_MODULE_RONX by default, and replaces the
help text with a new wording derived from the DEBUG_RODATA help text,
which better describes the functionality. Previously, the DEBUG_RODATA
entry was inconsistently indented with spaces, which are replaced with
tabs as with the other Kconfig entries.
Additionally, the wording of recommended defaults is made consistent for
all options. These are placed in a new paragraph, unquoted, as a full
sentence (with a period/full stop) as this appears to be the most common
form per $(git grep 'in doubt').
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Laura Abbott <labbott@fedoraproject.org>
Acked-by: Kees Cook <keescook@chromium.org>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions