added chmod() and chown() to syscall.c