#include "asm/unistd_64.h" // for __NR_fchmodat2 #include // for fchmodat #include // for mode_t #include // for __syscall_4, syscall int fchmodat(int fd, const char *path, mode_t mode, int flag) { return syscall(fchmodat2, fd, path, mode, flag); }