Turns out (older) arm64 linux kernels don't have statx, but also not
stat64 and no stat syscalls. It uses fstatat instead. The new statx
patch also added a check for stat. So That needs a special case for
arm64.
Follow up for bug #400593.
}
}
# endif /* defined(__NR_stat64) */
-# if defined(__NR_stat)
+# if defined(__NR_stat) || defined(VGP_arm64_linux)
/* This is the fallback ("vanilla version"). */
{ struct vki_stat buf;
# if defined(VGP_arm64_linux)