add setdomainname syscall, fix getdomainname (previously a stub)