[libc-commits] [libc] [libc][NFC] Turn off faccessat on aarch64 (PR #161740)

Michael Jones via libc-commits libc-commits at lists.llvm.org
Thu Oct 2 14:44:40 PDT 2025


https://github.com/michaelrj-google created https://github.com/llvm/llvm-project/pull/161740

The SYS_faccessat2 syscall isn't available on the aarch64 buildbot, so
disable this entrypoint for now.


>From 529562c32c02cb6f4aca7d8e2f99e18550259375 Mon Sep 17 00:00:00 2001
From: Michael Jones <michaelrj at google.com>
Date: Thu, 2 Oct 2025 21:43:28 +0000
Subject: [PATCH] [libc][NFC] Turn off faccessat on aarch64

The SYS_faccessat2 syscall isn't available on the aarch64 buildbot, so
disable this entrypoint for now.
---
 libc/config/linux/aarch64/entrypoints.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libc/config/linux/aarch64/entrypoints.txt b/libc/config/linux/aarch64/entrypoints.txt
index cfb77911f3c2d..4824684103983 100644
--- a/libc/config/linux/aarch64/entrypoints.txt
+++ b/libc/config/linux/aarch64/entrypoints.txt
@@ -325,7 +325,8 @@ set(TARGET_LIBC_ENTRYPOINTS
     libc.src.unistd.dup2
     libc.src.unistd.dup3
     libc.src.unistd.execve
-    libc.src.unistd.faccessat
+    # Disabled while SYS_faccessat2 is unavailable on the buildbot.
+    # libc.src.unistd.faccessat
     libc.src.unistd.fchdir
     libc.src.unistd.fpathconf
     libc.src.unistd.fsync



More information about the libc-commits mailing list