#include "asm/unistd_64.h" // for __NR_chmod #include // for chmod #include // for mode_t #include // for __syscall_2, syscall int chmod(const char *path, mode_t mode) { return syscall(chmod, path, mode); }