HomeFreeBSD

Evaluate also VM_PROT_EXECUTE protection in pmap_preboot_map_attr().

Description

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.

Details

Provenance
skraAuthored on
Parents
rS295692: MFH (r295536): fix double-free error when SSL connection fails
Branches
Unknown
Tags
Unknown