[all-commits] [llvm/llvm-project] e7dc4d: [libc] Migrate file I/O syscall wrappers to syscal...

Pavel Labath via All-commits all-commits at lists.llvm.org
Sun Sep 27 23:09:24 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e7dc4d6436526c4c7b31afec47a47530d98a6801
      https://github.com/llvm/llvm-project/commit/e7dc4d6436526c4c7b31afec47a47530d98a6801
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2026-09-28 (Mon, 28 Sep 2026)

  Changed paths:
    M libc/src/__support/OSUtil/linux/syscall_wrappers/close.h
    M libc/src/__support/OSUtil/linux/syscall_wrappers/dup.h
    M libc/src/__support/OSUtil/linux/syscall_wrappers/dup2.h
    M libc/src/__support/OSUtil/linux/syscall_wrappers/dup3.h
    M libc/src/__support/OSUtil/linux/syscall_wrappers/fcntl.h
    M libc/src/__support/OSUtil/linux/syscall_wrappers/fsync.h
    M libc/src/__support/OSUtil/linux/syscall_wrappers/ftruncate.h
    M libc/src/__support/OSUtil/linux/syscall_wrappers/lseek.h
    M libc/src/__support/OSUtil/linux/syscall_wrappers/memfd_create.h
    M libc/src/__support/OSUtil/linux/syscall_wrappers/read.h
    M libc/src/__support/OSUtil/linux/syscall_wrappers/write.h

  Log Message:
  -----------
  [libc] Migrate file I/O syscall wrappers to syscall_checked (#226477)

Migrate a batch of related file descriptor and core I/O syscall wrappers
to use syscall_checked instead of manual syscall_impl error checking.

While in there:
- update file headers to the new style
- reformat includes into a single block so clang-format can sort them

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