Page MenuHomeFreeBSD

Set NX in mappings created by pmap_kenter() and pmap_kenter_attr().
ClosedPublic

Authored by markj on Sep 22 2019, 7:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jun 13, 10:02 PM
Unknown Object (File)
Sat, Jun 13, 3:00 PM
Unknown Object (File)
Sat, Jun 13, 2:08 PM
Unknown Object (File)
Fri, Jun 12, 10:34 PM
Unknown Object (File)
May 15 2026, 11:28 AM
Unknown Object (File)
May 15 2026, 11:28 AM
Unknown Object (File)
May 10 2026, 2:29 PM
Unknown Object (File)
Apr 28 2026, 7:17 AM
Subscribers

Details

Summary

As far as I know there is no reason for such mappings to be executable.
Other functions for creating kernel mappings, such as pmap_qenter(),
also set NX.

Diff Detail

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

Event Timeline

I think the only interesting case is pmap_mapbios(), but it should be fine. Anyway, we will see.

This revision is now accepted and ready to land.Sep 22 2019, 8:16 PM