[all-commits] [llvm/llvm-project] b790c5: [libc] Remove #include <sys/whatever.h> (#209449)

Pavel Labath via All-commits all-commits at lists.llvm.org
Wed Jul 15 00:50:50 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b790c5cd267974456806773f01dfb8936b22e4f2
      https://github.com/llvm/llvm-project/commit/b790c5cd267974456806773f01dfb8936b22e4f2
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2026-07-15 (Wed, 15 Jul 2026)

  Changed paths:
    M libc/src/__support/File/linux/CMakeLists.txt
    M libc/src/__support/File/linux/file.cpp
    M libc/src/pthread/CMakeLists.txt
    M libc/src/pthread/pthread_condattr_getclock.cpp
    M libc/src/pthread/pthread_condattr_getclock.h
    M libc/src/pthread/pthread_condattr_setclock.cpp
    M libc/src/pthread/pthread_condattr_setclock.h
    M libc/src/sys/prctl/linux/CMakeLists.txt
    M libc/src/sys/prctl/prctl.h
    M libc/src/sys/random/getrandom.h
    M libc/src/sys/random/linux/CMakeLists.txt
    M libc/src/sys/resource/getrlimit.h
    M libc/src/sys/resource/linux/CMakeLists.txt
    M libc/src/sys/resource/setrlimit.h
    M libc/src/sys/sendfile/linux/CMakeLists.txt
    M libc/src/sys/sendfile/linux/sendfile.cpp
    M libc/src/sys/sendfile/sendfile.h
    M libc/src/sys/socket/linux/CMakeLists.txt
    M libc/src/sys/socket/recv.h
    M libc/src/sys/socket/send.h
    M libc/src/sys/wait/linux/CMakeLists.txt
    M libc/src/sys/wait/wait.h
    M libc/src/sys/wait/waitpid.h
    M libc/src/unistd/linux/CMakeLists.txt
    M libc/src/unistd/linux/isatty.cpp
    M libc/startup/linux/CMakeLists.txt
    M libc/startup/linux/do_start.cpp
    M libc/test/integration/src/sys/ptrace/linux/ptrace_test.cpp
    M libc/test/src/fcntl/CMakeLists.txt
    M libc/test/src/fcntl/creat_test.cpp
    M libc/test/src/fcntl/fcntl_test.cpp
    M libc/test/src/stdio/CMakeLists.txt
    M libc/test/src/stdio/fdopen_test.cpp
    M libc/test/src/string/memory_utils/protected_pages.h
    M libc/test/src/sys/auxv/linux/CMakeLists.txt
    M libc/test/src/sys/auxv/linux/getauxval_test.cpp
    M libc/test/src/sys/mman/linux/CMakeLists.txt
    M libc/test/src/sys/mman/linux/mlock_test.cpp
    M libc/test/src/sys/mman/linux/mprotect_test.cpp
    M libc/test/src/sys/mman/linux/posix_madvise_test.cpp
    M libc/test/src/sys/mman/linux/remap_file_pages_test.cpp
    M libc/test/src/sys/resource/CMakeLists.txt
    M libc/test/src/sys/resource/getrlimit_setrlimit_test.cpp
    M libc/test/src/sys/sendfile/CMakeLists.txt
    M libc/test/src/sys/sendfile/sendfile_test.cpp
    M libc/test/src/sys/socket/linux/CMakeLists.txt
    M libc/test/src/sys/socket/linux/sendto_recvfrom_test.cpp
    M libc/test/src/sys/socket/linux/socket_test.cpp
    M libc/test/src/sys/socket/linux/socketopt_test.cpp
    M libc/test/src/sys/socket/linux/socketpair_test.cpp
    M libc/test/src/sys/stat/CMakeLists.txt
    M libc/test/src/sys/stat/chmod_test.cpp
    M libc/test/src/sys/stat/fchmod_test.cpp
    M libc/test/src/sys/stat/fchmodat_test.cpp
    M libc/test/src/sys/stat/fstat_test.cpp
    M libc/test/src/sys/stat/lstat_test.cpp
    M libc/test/src/sys/stat/stat_test.cpp
    M libc/test/src/unistd/CMakeLists.txt
    M libc/test/src/unistd/access_test.cpp
    M libc/test/src/unistd/chown_test.cpp
    M libc/test/src/unistd/dup2_test.cpp
    M libc/test/src/unistd/dup3_test.cpp
    M libc/test/src/unistd/dup_test.cpp
    M libc/test/src/unistd/faccessat_test.cpp
    M libc/test/src/unistd/fchown_test.cpp
    M libc/test/src/unistd/ftruncate_test.cpp
    M libc/test/src/unistd/isatty_test.cpp
    M libc/test/src/unistd/link_test.cpp
    M libc/test/src/unistd/linkat_test.cpp
    M libc/test/src/unistd/pread_pwrite_test.cpp
    M libc/test/src/unistd/read_write_test.cpp
    M libc/test/src/unistd/symlink_test.cpp
    M libc/test/src/unistd/symlinkat_test.cpp
    M libc/test/src/unistd/syscall_test.cpp
    M libc/test/src/unistd/truncate_test.cpp
    M libc/test/src/unistd/unlink_test.cpp
    M libc/test/src/unistd/unlinkat_test.cpp

  Log Message:
  -----------
  [libc] Remove #include <sys/whatever.h> (#209449)

and replace with granular includes of type/macro proxy headers -- where
those headers exist. I'm leaving the creation of new proxy headers for
another patch.

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