diff options
author | Jeremy Linton <jeremy.linton@arm.com> | 2016-02-19 11:50:32 -0600 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2016-02-26 15:08:04 +0000 |
commit | 2f39b5f91eb4bccd786d194e70db1dccad784755 (patch) | |
tree | 726713a839445a87a77fa05fb369cd0107e60346 /Documentation/arm64 | |
parent | b7dc8d16e76c25409d93ff3aceda42fc386efc4e (diff) | |
download | linux-stable-2f39b5f91eb4bccd786d194e70db1dccad784755.tar.gz linux-stable-2f39b5f91eb4bccd786d194e70db1dccad784755.tar.bz2 linux-stable-2f39b5f91eb4bccd786d194e70db1dccad784755.zip |
arm64: mm: Mark .rodata as RO
Currently the .rodata section is actually still executable when DEBUG_RODATA
is enabled. This changes that so the .rodata is actually read only, no execute.
It also adds the .rodata section to the mem_init banner.
Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
[catalin.marinas@arm.com: added vm_struct vmlinux_rodata in map_kernel()]
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'Documentation/arm64')
0 files changed, 0 insertions, 0 deletions