MFp4: More special casing of when vector_page == 0x00000000 :

catch attempts to write to vector_page earlier in pmap_fault_fixup(),
and deny it.
This commit is contained in:
cognet 2006-03-22 22:11:10 +00:00
parent 5f934f2781
commit 68a24ad6b0

View File

@ -2021,6 +2021,8 @@ pmap_fault_fixup(pmap_t pm, vm_offset_t va, vm_prot_t ftype, int user)
*/
if (user && (pte & L2_S_PROT_U) == 0)
goto out;
if (va == vector_page)
goto out;
pa = l2pte_pa(pte);