[libc-commits] [libc] [WIP][libc] Add freelist malloc (PR #94270)

Petr Hosek via libc-commits libc-commits at lists.llvm.org
Mon Jun 3 22:11:18 PDT 2024


================
@@ -73,7 +73,7 @@ LIBC_INLINE int statx(int dirfd, const char *__restrict path, int flags,
                       struct stat *__restrict statbuf) {
   // We make a statx syscall and copy out the result into the |statbuf|.
   ::statx_buf xbuf;
-  int ret = LIBC_NAMESPACE::syscall_impl<int>(SYS_statx, dirfd, path, flags,
+  int ret = LIBC_NAMESPACE::syscall_impl<int>(0, dirfd, path, flags,
----------------
petrhosek wrote:

What's the motivation for this change?

https://github.com/llvm/llvm-project/pull/94270


More information about the libc-commits mailing list