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:
parent
5f934f2781
commit
68a24ad6b0
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user