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)
Sat, Jul 4, 2:49 PM
Unknown Object (File)
Fri, Jun 19, 4:27 PM
Unknown Object (File)
May 19 2026, 11:33 AM
Unknown Object (File)
May 19 2026, 9:12 AM
Unknown Object (File)
May 19 2026, 6:11 AM
Unknown Object (File)
May 16 2026, 10:22 PM
Unknown Object (File)
May 10 2026, 1:52 PM
Unknown Object (File)
May 2 2026, 10:44 PM
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