[all-commits] [llvm/llvm-project] 3fb55b: [libc] Add <sys/un.h> header. (#182622)
Alexey Samsonov via All-commits
all-commits at lists.llvm.org
Sat Mar 7 22:22:57 PST 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3fb55b6872c1534fb965bd758d3a6f4d5abf495d
https://github.com/llvm/llvm-project/commit/3fb55b6872c1534fb965bd758d3a6f4d5abf495d
Author: Alexey Samsonov <vonosmas at gmail.com>
Date: 2026-03-08 (Sun, 08 Mar 2026)
Changed paths:
M libc/config/linux/aarch64/headers.txt
M libc/config/linux/x86_64/headers.txt
M libc/hdr/CMakeLists.txt
A libc/hdr/sys_socket_macros.h
M libc/hdr/types/CMakeLists.txt
A libc/hdr/types/struct_sockaddr_un.h
M libc/include/CMakeLists.txt
M libc/include/sys/socket.yaml
A libc/include/sys/un.yaml
M libc/test/src/sys/socket/linux/CMakeLists.txt
M libc/test/src/sys/socket/linux/bind_test.cpp
Log Message:
-----------
[libc] Add <sys/un.h> header. (#182622)
`sockaddr_un` structure is supposed to be provided by the `<sys/un.h>`
header. Add this header to llvm-libc, and move the declaration of
`sockaddr_un` there from `<sys/socket.h>`. See
https://man7.org/linux/man-pages/man0/sys_un.h.0p.html
Add proxy headers for the `<sys/socket.h>` macro (like `AF_UNIX`) and
for the `struct sockaddr_un` so that the tests can be more hermetic and
avoid system header inclusion.
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