[all-commits] [llvm/llvm-project] 89a4b2: [libc] Replace sys/select.h, sys/utsname.h and sys...
Pavel Labath via All-commits
all-commits at lists.llvm.org
Wed Jul 15 23:30:58 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 89a4b2f880a7b852cb9b4ff20a1e38a6b3a037a5
https://github.com/llvm/llvm-project/commit/89a4b2f880a7b852cb9b4ff20a1e38a6b3a037a5
Author: Pavel Labath <pavel at labath.sk>
Date: 2026-07-16 (Thu, 16 Jul 2026)
Changed paths:
M libc/hdr/CMakeLists.txt
A libc/hdr/sys_select_macros.h
A libc/hdr/sys_wait_macros.h
M libc/hdr/types/CMakeLists.txt
A libc/hdr/types/fd_set.h
A libc/hdr/types/struct_rusage.h
A libc/hdr/types/struct_utsname.h
M libc/src/sys/select/linux/CMakeLists.txt
M libc/src/sys/select/linux/select.cpp
M libc/src/sys/select/select.h
M libc/src/sys/utsname/linux/CMakeLists.txt
M libc/src/sys/utsname/linux/uname.cpp
M libc/src/sys/utsname/uname.h
M libc/src/sys/wait/linux/CMakeLists.txt
M libc/src/sys/wait/wait4.h
M libc/src/sys/wait/wait4Impl.h
M libc/src/unistd/linux/CMakeLists.txt
M libc/src/unistd/linux/gethostname.cpp
Log Message:
-----------
[libc] Replace sys/select.h, sys/utsname.h and sys/wait.h includes with proxy headers (#209851)
I'm replacing system includes of <sys/select.h>, <sys/utsname.h>, and
<sys/wait.h> in non-test and non-proxy code with granular proxy headers.
- add proxy headers for sys/select.h and sys/wait.h macros as well as
fd_set, struct rusage, and struct utsname types
- switch select, uname, gethostname, and wait4 internal headers and
implementations to include the proxy headers instead of system headers
- update cmake dependencies for the affected entry points
Assisted by Gemini.
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