Page MenuHomeFreeBSD

sockbuf: Add KMSAN checks to sbappend*()
ClosedPublic

Authored by markj on Jan 17 2023, 2:10 PM.
Tags
None
Referenced Files
F108869974: D38101.id115231.diff
Tue, Jan 28, 10:42 PM
F108869699: D38101.id121153.diff
Tue, Jan 28, 10:37 PM
Unknown Object (File)
Mon, Jan 27, 4:36 PM
Unknown Object (File)
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
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