Page MenuHomeFreeBSD

Handle table attributes in the arm64 kernel map
ClosedPublic

Authored by andrew on Dec 7 2021, 4:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 31, 5:28 PM
Unknown Object (File)
Nov 25 2024, 7:11 PM
Unknown Object (File)
Nov 16 2024, 3:24 AM
Unknown Object (File)
Nov 13 2024, 6:35 AM
Unknown Object (File)
Oct 14 2024, 6:39 AM
Unknown Object (File)
Oct 2 2024, 1:20 PM
Unknown Object (File)
Oct 1 2024, 11:53 AM
Unknown Object (File)
Oct 1 2024, 10:06 AM
Subscribers

Details

Summary

When getting the arm64 kernel maps sysctl we should look at the table
attributes as well as the block/page attributes. These attributes are
different to the last level attributes so need to be translated.

The previous code assumed the table and block/page attributes are
identical, however this is not the case. Handle the difference by
extracting the code into new helper functions & calling them as needed
based on the entry type being checked.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable