Searched refs:creds (Results 1 – 1 of 1) sorted by relevance
473 struct ucred creds; in socket_get_peer_credentials() local475 memset(&creds, 0, sizeof(creds)); in socket_get_peer_credentials()476 socklen_t szCreds = sizeof(creds); in socket_get_peer_credentials()478 err = getsockopt(fd, SOL_SOCKET, SO_PEERCRED, &creds, &szCreds); in socket_get_peer_credentials()490 creds.pid, creds.uid, creds.gid); in socket_get_peer_credentials()