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)
Thu, Oct 16, 7:15 PM
Unknown Object (File)
Thu, Oct 16, 7:15 PM
Unknown Object (File)
Thu, Oct 16, 7:15 PM
Unknown Object (File)
Thu, Oct 16, 9:08 AM
Unknown Object (File)
Wed, Oct 15, 5:26 PM
Unknown Object (File)
Sat, Oct 4, 2:17 PM
Unknown Object (File)
Thu, Oct 2, 12:38 AM
Unknown Object (File)
Sep 5 2025, 1:47 PM
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