Page MenuHomeFreeBSD

Set the NX bit for the PML4 recursive mapping
ClosedPublic

Authored by jtl on Feb 12 2018, 6:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 21 2023, 12:19 AM
Unknown Object (File)
Dec 20 2023, 4:02 AM
Unknown Object (File)
Nov 15 2023, 9:01 AM
Unknown Object (File)
Nov 10 2023, 1:15 PM
Unknown Object (File)
Nov 2 2023, 2:03 AM
Unknown Object (File)
Jul 29 2023, 9:34 PM
Unknown Object (File)
Jun 3 2023, 3:57 PM
Unknown Object (File)
May 15 2023, 6:36 PM
Subscribers

Details

Summary

We shouldn't need to execute code in the recursive page table mappings; therefore, it should be safe to set the NX bit on the PML4E for the recurse page table mappings. According to the Intel docs, the effect of the NX bit should propogate to any page reached through a PML4E which has the NX bit set.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable