#include "asm/unistd_64.h" // for __NR_chown #include // for __syscall_3, syscall #include // for chown, gid_t, uid_t int chown(const char *path, uid_t owner, gid_t group) { return syscall(chown, path, owner, group); }