HomeFreeBSD

Fix setting of protection bits for page table entries in pmap_map(). This

Description

Fix setting of protection bits for page table entries in pmap_map(). This
function is only called from vm_page_startup() and vm_reserv_startup().
I.e. during vm subsystem initialization. As VM_PROT_WRITE is always
used in these calls, the typo did not have any effect. Likely, it's
the reason why it wasn't discovered so long.

Details

Provenance
skraAuthored on
Parents
rS295140: Correctly handle the case where copystr(9) is given a string longer than
Branches
Unknown
Tags
Unknown