Page MenuHomeFreeBSD

arm64: Add pmap integration for KMSAN
ClosedPublic

Authored by markj on Jan 11 2024, 10:48 PM.
Tags
None
Referenced Files
F149811771: D43405.id134013.diff
Fri, Mar 27, 7:00 AM
Unknown Object (File)
Wed, Mar 25, 11:48 AM
Unknown Object (File)
Tue, Mar 24, 5:27 PM
Unknown Object (File)
Fri, Mar 6, 6:33 PM
Unknown Object (File)
Fri, Mar 6, 5:46 AM
Unknown Object (File)
Thu, Mar 5, 4:06 AM
Unknown Object (File)
Fri, Feb 27, 6:16 PM
Unknown Object (File)
Feb 24 2026, 6:08 AM
Subscribers

Details

Summary
  • In pmap_bootstrap_san(), allocate the root PTPs for the shadow maps. (For KASAN, this is done earlier since we need to do some special bootstrapping for the kernel stack.)
  • Adjust ifdefs to include KMSAN.
  • Expand the shadow maps when pmap_growkernel() is called.

Sponsored by: Klara, Inc.
Sponsored by: Juniper Networks, Inc.

Diff Detail

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