Page MenuHomeFreeBSD

livedump: Silence KASAN and KMSAN when livedumping
ClosedPublic

Authored by markj on Nov 23 2024, 4:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jan 16, 4:00 PM
Unknown Object (File)
Mon, Jan 6, 8:18 AM
Unknown Object (File)
Sun, Jan 5, 9:22 PM
Unknown Object (File)
Sun, Jan 5, 11:21 AM
Unknown Object (File)
Sun, Jan 5, 7:14 AM
Unknown Object (File)
Sun, Dec 29, 8:10 AM
Unknown Object (File)
Dec 13 2024, 8:45 PM
Unknown Object (File)
Dec 2 2024, 9:00 AM
Subscribers

Details

Summary

The livedumper triggers reports from both of these sanitizers since it
necessarily accesses uninitialized or freed memory. Add a flag to
silence reports from both sanitizers.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 60746
Build 57630: arc lint + arc unit

Event Timeline

markj requested review of this revision.Nov 23 2024, 4:32 PM
This revision is now accepted and ready to land.Nov 23 2024, 4:43 PM

Check for curthread == NULL, which can happen while APs are executing
init_secondary().

This revision now requires review to proceed.Nov 24 2024, 3:45 PM
This revision is now accepted and ready to land.Nov 24 2024, 6:48 PM