#include "asm/unistd_64.h" // for __NR_faccessat #include // for __syscall_4, syscall int faccessat(int fd, const char *path, int amode, int flag) { return syscall(faccessat, fd, path, amode, flag); }