commit | 2f896d5866107e2926dcdec34a7d40bc56dd2951 | [log] [tgz] |
---|---|---|
author | Laura Abbott <lauraa@codeaurora.org> | Thu Jan 22 01:36:05 2015 +0000 |
committer | Catalin Marinas <catalin.marinas@arm.com> | Thu Jan 22 11:50:56 2015 +0000 |
tree | 45269256d0e928bcc51838ce63f2913abe252480 | |
parent | 6083fe74b7bfffc2c7be8c711596608bda0cda6e [diff] |
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>