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)
Fri, Aug 14, 12:29 AM
Unknown Object (File)
Thu, Aug 13, 7:10 PM
Unknown Object (File)
Wed, Aug 12, 8:20 PM
Unknown Object (File)
Mon, Aug 10, 9:53 AM
Unknown Object (File)
Mon, Aug 10, 8:02 AM
Unknown Object (File)
Mon, Aug 10, 7:19 AM
Unknown Object (File)
Sat, Aug 8, 2:49 AM
Unknown Object (File)
Thu, Jul 30, 5:11 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