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)
Mar 7 2024, 5:52 PM
Unknown Object (File)
Feb 13 2024, 12:09 AM
Unknown Object (File)
Dec 22 2023, 11:47 PM
Unknown Object (File)
Oct 17 2023, 7:11 PM
Unknown Object (File)
Oct 15 2023, 2:57 AM
Unknown Object (File)
Jun 9 2023, 2:52 AM
Unknown Object (File)
May 18 2023, 8:59 AM
Unknown Object (File)
May 17 2023, 2:49 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 43216
Build 40104: arc lint + arc unit