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 Apr 13 2017, 3:03 PM
Parents
rGd255847d9e92: Fix vdev_geom_attach_by_guids for partitioned disks
Branches
Unknown
Tags
Unknown

Event Timeline