diff options
| author | Mark Johnston <markj@FreeBSD.org> | 2023-04-27 16:58:56 +0000 |
|---|---|---|
| committer | Mark Johnston <markj@FreeBSD.org> | 2023-04-27 16:58:56 +0000 |
| commit | ec45f952a232068ba17b091e96a8b6e79bcec85a (patch) | |
| tree | c9e95b39115946f2f65c613ed84bb3cbf7dd2f69 /gnu/lib | |
| parent | 83fd35b3f3fa580d2b99874abd1f67ee61dcb659 (diff) | |
sockbuf: Add KMSAN checks to sbappend*()
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.
Reviewed by: glebius
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D38101
Diffstat (limited to 'gnu/lib')
0 files changed, 0 insertions, 0 deletions
