Page MenuHomeFreeBSD

sockbuf: Add KMSAN checks to sbappend*()
ClosedPublic

Authored by markj on Jan 17 2023, 2:10 PM.
Tags
None
Referenced Files
F171456004: D38101.diff
Fri, Sep 11, 5:17 AM
Unknown Object (File)
Sun, Sep 6, 4:12 AM
Unknown Object (File)
Sat, Sep 5, 7:48 PM
Unknown Object (File)
Sat, Sep 5, 7:24 PM
Unknown Object (File)
Sat, Sep 5, 12:02 PM
Unknown Object (File)
Fri, Sep 4, 7:54 AM
Unknown Object (File)
Thu, Sep 3, 7:20 AM
Unknown Object (File)
Thu, Sep 3, 5:16 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