summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorLaura Abbott <lauraa@codeaurora.org>2014-11-22 00:50:41 +0300
committerWill Deacon <will.deacon@arm.com>2014-11-26 20:19:47 +0300
commit034edabe6cf1d0dea49d4c836ba128cec90fad04 (patch)
tree4b2bb811d4917b8e7cb285cea99bbd257f2fc03f /include/uapi/linux
parent6ddae4186886a81e22ad78ad7c6936ed36bc8225 (diff)
downloadlinux-034edabe6cf1d0dea49d4c836ba128cec90fad04.tar.xz
arm64: Move some head.text functions to executable section
The head.text section is intended to be run at early bootup before any of the regular kernel mappings have been setup. Parts of head.text may be freed back into the buddy allocator due to TEXT_OFFSET so for security requirements this memory must not be executable. The suspend/resume/hotplug code path requires some of these head.S functions to run however which means they need to be executable. Support these conflicting requirements by moving the few head.text functions that need to be executable to the text section which has the appropriate page table permissions. Tested-by: Kees Cook <keescook@chromium.org> Reviewed-by: Mark Rutland <mark.rutland@arm.com> Tested-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Laura Abbott <lauraa@codeaurora.org> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions