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
F139422525: D14333.diff
Thu, Dec 11, 10:04 PM
Unknown Object (File)
Sun, Nov 30, 7:39 AM
Unknown Object (File)
Fri, Nov 28, 4:08 AM
Unknown Object (File)
Fri, Nov 21, 12:49 AM
Unknown Object (File)
Thu, Nov 20, 11:47 PM
Unknown Object (File)
Thu, Nov 20, 11:45 PM
Unknown Object (File)
Thu, Nov 20, 11:42 PM
Unknown Object (File)
Thu, Nov 20, 11:41 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