syscall.tbl refactoring seems to have dropped definition of __NR_newfstatat on arm64 and riscv (64-bit) at least

From: Florian Weimer
Date: Thu Aug 01 2024 - 07:28:25 EST


It's been repported that __NR_newfstatat has gone missing from the UAPI
headers.

[sanitizer] __NR_newfstatat not defined in linux kernel headers in
aarch64
<https://github.com/llvm/llvm-project/issues/100098>

__NR_newfstatat no longer defined on aarch64
<https://bugzilla.redhat.com/show_bug.cgi?id=2301919>

I suspect that's related to the syscall.tbl refactoring around these
commits:

commit e632bca07c8eef1de9dc50f4e4066c56e9d68b07
Author: Arnd Bergmann <arnd@xxxxxxxx>
Date: Thu Jul 4 14:33:34 2024 +0200

arm64: generate 64-bit syscall.tbl

commit 3db80c999debbadd5d627fb30f8b06fee331ffb6
Author: Arnd Bergmann <arnd@xxxxxxxx>
Date: Wed Apr 24 09:14:39 2024 +0200

riscv: convert to generic syscall table

Thanks,
Florian