HomeFreeBSD

Set the arm64 Execute-never bits in more places.

Description

Set the arm64 Execute-never bits in more places.

We need to set the Execute-never bits when mapping device memory as the
hardware may perform speculative instruction fetches.

Set the Privileged Execute-ever bit on userspace memory to stop the kernel
if it is tricked into executing it.

Reviewed by: kib
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D10382

Details

Provenance
andrewAuthored on
Reviewer
kib
Differential Revision
D10382: Set the arm64 Execute-never bits in more places.
Parents
rS316760: Fix vdev_geom_attach_by_guids for partitioned disks
Branches
Unknown
Tags
Unknown