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
F168156218: D14333.id39956.diff
Wed, Aug 26, 3:32 PM
Unknown Object (File)
Mon, Aug 24, 11:51 PM
Unknown Object (File)
Mon, Aug 24, 5:55 AM
Unknown Object (File)
Sat, Aug 22, 1:46 AM
Unknown Object (File)
Thu, Aug 20, 7:13 AM
Unknown Object (File)
Tue, Aug 18, 7:35 PM
Unknown Object (File)
Sun, Aug 16, 2:51 PM
Unknown Object (File)
Sun, Aug 16, 1:54 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