diff options
author | Andrew Turner <andrew@FreeBSD.org> | 2020-10-13 10:26:15 +0000 |
---|---|---|
committer | Andrew Turner <andrew@FreeBSD.org> | 2020-10-13 10:26:15 +0000 |
commit | f56a08c810a555a218f11aa172ed40f6a8dc3a5c (patch) | |
tree | 4185973fb494986c00171587e68f0a7404ddbaef /tests/sys/cddl | |
parent | 2cef3afd7b50b18d30085f5943c09b061215a75f (diff) | |
download | src-f56a08c810a555a218f11aa172ed40f6a8dc3a5c.tar.gz src-f56a08c810a555a218f11aa172ed40f6a8dc3a5c.zip |
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
Notes
Notes:
svn path=/head/; revision=366665
Diffstat (limited to 'tests/sys/cddl')
0 files changed, 0 insertions, 0 deletions