[all-commits] [llvm/llvm-project] 230f33: [libc] Swap order of syscall on chmod (#138427)

Mikhail R. Gadelha via All-commits all-commits at lists.llvm.org
Mon May 5 14:49:54 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 230f332cf0139fed88145c9d2dd410c36348f2e4
      https://github.com/llvm/llvm-project/commit/230f332cf0139fed88145c9d2dd410c36348f2e4
  Author: Mikhail R. Gadelha <mikhail at igalia.com>
  Date:   2025-05-05 (Mon, 05 May 2025)

  Changed paths:
    M libc/src/sys/stat/linux/chmod.cpp

  Log Message:
  -----------
  [libc] Swap order of syscall on chmod (#138427)

We define SYS_fchmodat2 on libc but the syscall is not available on old
kernels, so prefer the SYS_fchmodat version when possible.



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