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)
Tue, May 19, 11:33 AM
Unknown Object (File)
Tue, May 19, 9:12 AM
Unknown Object (File)
Tue, May 19, 6:11 AM
Unknown Object (File)
Sat, May 16, 10:22 PM
Unknown Object (File)
Sun, May 10, 1:52 PM
Unknown Object (File)
Sat, May 2, 10:44 PM
Unknown Object (File)
Apr 27 2026, 2:41 PM
Unknown Object (File)
Apr 22 2026, 12:52 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