jhb cb644e0694 Restrict setting PTE execute permissions on RISC-V.
Previously, RISC-V was enabling execute permissions in PTEs for any
readable page.  Now, execute permissions are only enabled if they were
explicitly specified (e.g. via PROT_EXEC to mmap).  The one exception
is that the initial kernel mapping in locore still maps all of the
kernel RWX.

While here, change the fault type passed to vm_fault and
pmap_fault_fixup to only include a single VM_PROT_* value representing
the faulting access to match other architectures rather than passing a
bitmask.

Reviewed by:	markj
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D17783
2018-11-01 22:23:15 +00:00
..
2018-10-25 22:16:34 +00:00
2018-10-22 18:29:12 +00:00
2018-10-20 20:45:49 +00:00
2018-08-23 13:21:01 +00:00
2018-10-20 22:39:35 +00:00
2018-10-23 21:43:41 +00:00
2018-10-25 22:16:34 +00:00
2018-10-30 22:40:40 +00:00