--- file-5.40.orig/src/seccomp.c 2021-06-22 19:29:30.705058079 -0400 +++ file-5.40.orig/src/seccomp.c 2021-06-22 19:31:37.968280091 -0400 @@ -40,6 +40,11 @@ FILE_RCSID("@(#)$File: seccomp.c,v 1.19 #include #include +#ifndef __GLIBC__ +#pragma push_macro("fstatat64") +#undef fstatat64 +#endif + #define DENY_RULE(call) \ do \ if (seccomp_rule_add (ctx, SCMP_ACT_KILL, SCMP_SYS(call), 0) == -1) \ @@ -286,3 +291,7 @@ out: return -1; } #endif + +#ifndef __GLIBC__ +#pragma pop_macro("fstatat64") +#endif