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
f2a1d71aaa
commit
e9f654ba90
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=157027
@ -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