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 Oct 13 2020, 10:26 AM
Parents
rG2cef3afd7b50: Stop using -O instead of -O2 for MIPS
Branches
Unknown
Tags
Unknown

Event Timeline