--- a/include/seccomp-syscalls.h 2020-11-16 22:04:59.763209755 +0000 +++ a/include/seccomp-syscalls.h 2021-06-15 23:30:44.949594406 +0000 @@ -670,6 +670,12 @@ #define __SNR_fstat64 __PNR_fstat64 #endif +#ifdef __NR_newfstatat +#define __SNR_fstatat __NR_newfstatat +#else +#define __SNR_fstatat __PNR_newfstatat +#endif + #ifdef __NR_fstatat64 #define __SNR_fstatat64 __NR_fstatat64 #else