As described in https://github.com/rust-lang/libc/issues/522 , the Solaris use of getpwuid_r is currently incorrect and needs updating to use the standard POSIX interfaces. I will provide a pull request shortly that depends on pull request https://github.com/rust-lang/libc/issues/523