]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Evaluate also VM_PROT_EXECUTE protection in pmap_preboot_map_attr().
authorSvatopluk Kraus <skra@FreeBSD.org>
Wed, 17 Feb 2016 12:30:59 +0000 (12:30 +0000)
committerSvatopluk Kraus <skra@FreeBSD.org>
Wed, 17 Feb 2016 12:30:59 +0000 (12:30 +0000)
commitd6686e08be57f7058985f72f0e1973ff0df70cd0
tree03813e643fe0c1d2e70a301a893ce15749d32c03
parentfb99179af401ad9839b463581c8490a080dc0cac
Evaluate also VM_PROT_EXECUTE protection in pmap_preboot_map_attr().
Before this change all mappings done by this function were executable
as pte entries have NOT EXECUTABLE bit.

The function is used only for static device mappings at present. Thus
this is also a fix as DEVICE memory should not be mapped as executable.
sys/arm/arm/pmap-v6.c