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)
Wed, Oct 15, 2:42 AM
Unknown Object (File)
Tue, Oct 14, 5:42 PM
Unknown Object (File)
Tue, Oct 14, 5:42 PM
Unknown Object (File)
Tue, Oct 14, 5:32 AM
Unknown Object (File)
Fri, Oct 10, 3:35 PM
Unknown Object (File)
Fri, Oct 3, 12:58 AM
Unknown Object (File)
Sat, Sep 27, 2:43 PM
Unknown Object (File)
Sep 10 2025, 1:32 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