commit | 5900270550cbb8a272bfc248b69531cd44dcf0d5 | [log] [tgz] |
---|---|---|
author | Marc Zyngier <marc.zyngier@arm.com> | Mon Jun 13 15:00:48 2016 +0100 |
committer | Christoffer Dall <christoffer.dall@linaro.org> | Wed Jun 29 14:01:34 2016 +0200 |
tree | 9683a4f7757d6e45d58302b4d950ac3df703dbad | |
parent | 74a6b8885f7026e33f8a4776b7ac17c76b8e5a52 [diff] |
arm/arm64: KVM: Map the HYP text as read-only There should be no reason for mapping the HYP text read/write. As such, let's have a new set of flags (PAGE_HYP_EXEC) that allows execution, but makes the page as read-only, and update the two call sites that deal with mapping code. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>