Page MenuHomeFreeBSD

sockbuf: Add KMSAN checks to sbappend*()
ClosedPublic

Authored by markj on Jan 17 2023, 2:10 PM.
Tags
None
Referenced Files
F108593548: D38101.id121153.diff
Sun, Jan 26, 6:10 PM
Unknown Object (File)
Sun, Jan 19, 2:18 PM
Unknown Object (File)
Sat, Jan 4, 12:14 PM
Unknown Object (File)
Dec 3 2024, 11:21 PM
Unknown Object (File)
Nov 23 2024, 12:31 AM
Unknown Object (File)
Nov 16 2024, 10:34 AM
Unknown Object (File)
Nov 16 2024, 8:18 AM
Unknown Object (File)
Nov 12 2024, 12:56 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