[all-commits] [llvm/llvm-project] ea198d: [libc] Implement fdatasync (#225613)

Pavel Labath via All-commits all-commits at lists.llvm.org
Thu Sep 24 01:00:42 PDT 2026


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

  Changed paths:
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/config/linux/arm/entrypoints.txt
    M libc/config/linux/riscv/entrypoints.txt
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/include/unistd.yaml
    M libc/src/__support/OSUtil/linux/syscall_wrappers/CMakeLists.txt
    A libc/src/__support/OSUtil/linux/syscall_wrappers/fdatasync.h
    M libc/src/unistd/CMakeLists.txt
    A libc/src/unistd/fdatasync.h
    M libc/src/unistd/linux/CMakeLists.txt
    A libc/src/unistd/linux/fdatasync.cpp
    M libc/test/src/unistd/CMakeLists.txt
    A libc/test/src/unistd/fdatasync_test.cpp

  Log Message:
  -----------
  [libc] Implement fdatasync (#225613)

This patch implements the fdatasync entry point for Linux, matching the
existing fsync implementation. I'm adding it to all supported Linux
architectures (x86_64, aarch64, arm, and riscv), where it's backed by
the SYS_fdatasync syscall.

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