Page MenuHomeFreeBSD

sockbuf: Add KMSAN checks to sbappend*()
ClosedPublic

Authored by markj on Jan 17 2023, 2:10 PM.
Tags
None
Referenced Files
F102720469: D38101.diff
Sat, Nov 16, 8:18 AM
Unknown Object (File)
Tue, Nov 12, 12:56 PM
Unknown Object (File)
Sun, Nov 10, 10:12 AM
Unknown Object (File)
Tue, Nov 5, 2:28 AM
Unknown Object (File)
Sat, Oct 19, 2:37 PM
Unknown Object (File)
Oct 4 2024, 9:26 PM
Unknown Object (File)
Sep 21 2024, 10:43 PM
Unknown Object (File)
Sep 21 2024, 7:00 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