[PATCH 3/4] arm64: mmu: map .text as read-only from the outset
Kees Cook
keescook at chromium.org
Fri Feb 10 10:41:58 PST 2017
On Fri, Feb 10, 2017 at 9:16 AM, Ard Biesheuvel
<ard.biesheuvel at linaro.org> wrote:
> Now that alternatives patching code no longer relies on the primary
> mapping of .text being writable, we can remove the code that removes
> the writable permissions post-init time, and map it read-only from
> the outset.
>
> Signed-off-by: Ard Biesheuvel <ard.biesheuvel at linaro.org>
Awesome!
Reviewed-by: Kees Cook <keescook at chromium.org>
-Kees
--
Kees Cook
Pixel Security
More information about the linux-arm-kernel
mailing list