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)
Mon, Mar 10, 11:50 AM
Unknown Object (File)
Tue, Mar 4, 4:31 AM
Unknown Object (File)
Sat, Mar 1, 1:07 AM
Unknown Object (File)
Feb 5 2025, 2:07 AM
Unknown Object (File)
Feb 4 2025, 12:29 AM
Unknown Object (File)
Feb 2 2025, 11:57 AM
Unknown Object (File)
Jan 28 2025, 10:42 PM
Unknown Object (File)
Jan 28 2025, 10:37 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