llvm/llvm-project

Check the ordering of the *at syscalls

Open

#195620 opened on May 4, 2026

View on GitHub
 (7 comments) (0 reactions) (1 assignee)C++ (26,378 stars) (10,782 forks)batch import
good first issuelibc

Description

In our syscalls in LLVM libc, we often have clauses like:

#ifdef SYS_mkdir
#elif SYS_mkdirat
#endif

I want to check if we should be preferring the *at syscalls on systems that have both as I think they're newer and preferred.

Contributor guide