Page MenuHomeFreeBSD

sockbuf: Add KMSAN checks to sbappend*()
ClosedPublic

Authored by markj on Jan 17 2023, 2:10 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 23, 11:28 AM
Unknown Object (File)
Wed, Nov 5, 5:27 AM
Unknown Object (File)
Oct 31 2025, 3:31 AM
Unknown Object (File)
Oct 29 2025, 12:03 PM
Unknown Object (File)
Oct 29 2025, 12:02 PM
Unknown Object (File)
Oct 29 2025, 12:02 PM
Unknown Object (File)
Oct 29 2025, 12:01 PM
Unknown Object (File)
Oct 25 2025, 10:23 AM
Subscribers

Details

Summary

Otherwise KMSAN only detects uninitialized memory when the contents of
the buffer are copied out to userspace or transmitted to a network
interface. At that point the KMSAN violation will be far removed from
its origin, so let's try to make debugging such problems a bit easier.

Diff Detail

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