projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a43680
)
arm: map fixmaps non-executable.
author
Ian Campbell
<ian.campbell@citrix.com>
Tue, 26 Jun 2012 15:23:58 +0000
(16:23 +0100)
committer
Ian Campbell
<ian.campbell@citrix.com>
Tue, 26 Jun 2012 15:23:58 +0000
(16:23 +0100)
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/mm.c
patch
|
blob
|
history
diff --git
a/xen/arch/arm/mm.c
b/xen/arch/arm/mm.c
index 715a98a32a0b1f68e3e0f9f76ad5032ed25c9a54..40ac176ce302f4a9de79c605b4c8621ced51bdfe 100644
(file)
--- a/
xen/arch/arm/mm.c
+++ b/
xen/arch/arm/mm.c
@@
-106,6
+106,7
@@
void set_fixmap(unsigned map, unsigned long mfn, unsigned attributes)
lpae_t pte = mfn_to_xen_entry(mfn);
pte.pt.table = 1; /* 4k mappings always have this bit set */
pte.pt.ai = attributes;
+ pte.pt.xn = 1;
write_pte(xen_fixmap + third_table_offset(FIXMAP_ADDR(map)), pte);
flush_xen_data_tlb_va(FIXMAP_ADDR(map));
}