[all-commits] [llvm/llvm-project] aeb18e: [libc] Add MSAN unpoison annotations to recv funcs...

Michael Jones via All-commits all-commits at lists.llvm.org
Tue Sep 24 14:54:25 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aeb18ebbe0a1a2fbce9b432eefed46c1d90968ea
      https://github.com/llvm/llvm-project/commit/aeb18ebbe0a1a2fbce9b432eefed46c1d90968ea
  Author: Michael Jones <michaelrj at google.com>
  Date:   2024-09-24 (Tue, 24 Sep 2024)

  Changed paths:
    M libc/src/sys/socket/linux/CMakeLists.txt
    M libc/src/sys/socket/linux/recv.cpp
    M libc/src/sys/socket/linux/recvfrom.cpp
    M libc/src/sys/socket/linux/recvmsg.cpp
    M libc/src/sys/socket/linux/socketpair.cpp
    M utils/bazel/llvm-project-overlay/libc/test/src/sys/socket/BUILD.bazel

  Log Message:
  -----------
  [libc] Add MSAN unpoison annotations to recv funcs (#109844)

Anywhere a struct is returned from the kernel, we need to explicitly
unpoison it for MSAN. This patch does that for the recv, recvfrom,
recvmsg, and socketpair functions.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list