[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] arm: map fixmaps non-executable.
# HG changeset patch # User Ian Campbell <ian.campbell@xxxxxxxxxx> # Date 1340724238 -3600 # Node ID 21c75c5ac5f4aa39778843bae21334dde2a4d5db # Parent be9f7621d53145536ea91bbd0e8bd82f34f7086e arm: map fixmaps non-executable. Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx> Acked-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx> Committed-by: Ian Campbell <ian.campbell@xxxxxxxxxx> --- diff -r be9f7621d531 -r 21c75c5ac5f4 xen/arch/arm/mm.c --- a/xen/arch/arm/mm.c Tue Jun 26 16:23:57 2012 +0100 +++ b/xen/arch/arm/mm.c Tue Jun 26 16:23:58 2012 +0100 @@ -106,6 +106,7 @@ void set_fixmap(unsigned map, unsigned l 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)); } _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |