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:
Olivier Houchard 2006-03-22 22:11:10 +00:00
parent f2a1d71aaa
commit e9f654ba90
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=157027

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);