pub fn get_socket_peercred<Fd: AsFd>(fd: Fd) -> Result<UCred>
getsockopt(fd, SOL_SOCKET, SO_PEERCRED)—Get credentials of Unix domain socket peer process.
getsockopt(fd, SOL_SOCKET, SO_PEERCRED)
unix