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, Nov 23, 3:11 AM
Unknown Object (File)
Sun, Nov 17, 4:23 PM
Unknown Object (File)
Sat, Nov 16, 7:37 AM
Unknown Object (File)
Oct 9 2024, 1:17 PM
Unknown Object (File)
Sep 29 2024, 4:41 PM
Unknown Object (File)
Sep 26 2024, 12:43 AM
Unknown Object (File)
Sep 23 2024, 4:35 AM
Unknown Object (File)
Sep 23 2024, 4:27 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