[all-commits] [llvm/llvm-project] f04bf4: [libc][NFC] Port raw syscall users to existing sys...

Mikhail R. Gadelha via All-commits all-commits at lists.llvm.org
Fri Jul 17 10:24:02 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f04bf4791ae6d56b822f9bca6eb82ce4adccb989
      https://github.com/llvm/llvm-project/commit/f04bf4791ae6d56b822f9bca6eb82ce4adccb989
  Author: Mikhail R. Gadelha <mikhail at igalia.com>
  Date:   2026-07-17 (Fri, 17 Jul 2026)

  Changed paths:
    M libc/src/__support/File/linux/CMakeLists.txt
    M libc/src/__support/File/linux/dir.cpp
    M libc/src/__support/File/linux/file.cpp
    M libc/src/__support/OSUtil/linux/CMakeLists.txt
    M libc/src/__support/OSUtil/linux/auxv.h
    M libc/src/__support/threads/linux/CMakeLists.txt
    M libc/src/__support/threads/linux/thread.cpp
    M libc/src/sched/linux/CMakeLists.txt
    M libc/src/sched/linux/sched_getaffinity.cpp
    M libc/src/spawn/linux/CMakeLists.txt
    M libc/src/spawn/linux/posix_spawn.cpp
    M libc/src/stdio/linux/CMakeLists.txt
    M libc/src/stdio/linux/remove.cpp
    M libc/src/sys/ipc/linux/CMakeLists.txt
    M libc/src/sys/ipc/linux/ftok.cpp
    R libc/src/sys/ipc/linux/kernel_statx.h
    M libc/src/sys/mman/linux/CMakeLists.txt
    M libc/src/sys/mman/linux/shm_unlink.cpp
    M libc/src/sys/time/linux/CMakeLists.txt
    M libc/src/sys/time/linux/utimes.cpp
    M libc/startup/linux/x86_64/CMakeLists.txt
    M libc/startup/linux/x86_64/tls.cpp
    M utils/bazel/llvm-project-overlay/libc/BUILD.bazel

  Log Message:
  -----------
  [libc][NFC] Port raw syscall users to existing syscall_wrappers (#208039)

Several call sites still invoked syscall_impl directly (or carried
their own SYS_* fallback ladders) for syscalls that already have a
wrapper in src/__support/OSUtil/linux/syscall_wrappers.

This PR removes these syscalls in favor of the syscall_wrappers.



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