UPSTREAM: arm64: use fixmap for text patching
When kernel text is marked as read only, it cannot be modified directly. Use a fixmap to modify the text instead in a similar manner to x86 and arm. Reviewed-by:Kees Cook <keescook@chromium.org> Reviewed-by:
Mark Rutland <mark.rutland@arm.com> Tested-by:
Kees Cook <keescook@chromium.org> Tested-by:
Mark Rutland <mark.rutland@arm.com> Signed-off-by:
Laura Abbott <lauraa@codeaurora.org> Signed-off-by:
Catalin Marinas <catalin.marinas@arm.com> (cherry picked from commit 2f896d5866107e2926dcdec34a7d40bc56dd2951) Signed-off-by:
Tomasz Figa <tfiga@chromium.org> Bug: 24475017 Change-Id: I6587989d6eae6d7e366f84cbd3f9cb3acb6bb154 Signed-off-by:
Kees Cook <keescook@google.com>
Loading
Please register or sign in to comment