#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); }