HomeFreeBSD

Fix write only mappings on arm64

Description

Fix write only mappings on arm64

When trapping on a wrote access to a buffer the kernel has mapped as write
only we should only pass the VM_PROT_WRITE flag. Previously the call to
vm_fault_trap as the VM_PROT_READ flag was unexpected.

Reported by: manu
Sponsored by: Innovate UK

Details

Provenance
andrewAuthored on
Parents
rS366664: Stop using -O instead of -O2 for MIPS
Branches
Unknown
Tags
Unknown