[all-commits] [llvm/llvm-project] 8180ea: [libc] Add bind function (#74014)

michaelrj-google via All-commits all-commits at lists.llvm.org
Tue Dec 12 13:36:27 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8180ea8694cbc58f105f27f2044dabc3febbcf6a
      https://github.com/llvm/llvm-project/commit/8180ea8694cbc58f105f27f2044dabc3febbcf6a
  Author: michaelrj-google <71531609+michaelrj-google at users.noreply.github.com>
  Date:   2023-12-12 (Tue, 12 Dec 2023)

  Changed paths:
    M libc/config/linux/api.td
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/include/CMakeLists.txt
    M libc/include/llvm-libc-types/CMakeLists.txt
    A libc/include/llvm-libc-types/socklen_t.h
    M libc/include/llvm-libc-types/struct_sockaddr.h
    A libc/include/llvm-libc-types/struct_sockaddr_un.h
    M libc/spec/posix.td
    M libc/src/sys/socket/CMakeLists.txt
    A libc/src/sys/socket/bind.h
    M libc/src/sys/socket/linux/CMakeLists.txt
    A libc/src/sys/socket/linux/bind.cpp
    M libc/src/sys/socket/linux/socket.cpp
    M libc/test/src/sys/socket/linux/CMakeLists.txt
    A libc/test/src/sys/socket/linux/bind_test.cpp
    M libc/test/src/sys/socket/linux/socket_test.cpp

  Log Message:
  -----------
  [libc] Add bind function (#74014)

This patch adds the bind function to go with the socket function. It
also cleans up a lot of socket related data structures.




More information about the All-commits mailing list