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, Mar 17, 6:46 PM
Unknown Object (File)
Sun, Mar 15, 11:32 AM
Unknown Object (File)
Sun, Mar 15, 11:24 AM
Unknown Object (File)
Sat, Mar 14, 5:26 AM
Unknown Object (File)
Sat, Mar 14, 5:21 AM
Unknown Object (File)
Sat, Mar 14, 12:12 AM
Unknown Object (File)
Fri, Mar 13, 8:39 PM
Unknown Object (File)
Sun, Mar 1, 11:26 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