Searched refs:peer_cred (Results 1 – 1 of 1) sorted by relevance
299 struct ucred peer_cred; in client() local347 len = sizeof(peer_cred); in client()348 if (getsockopt(cfd, SOL_SOCKET, SO_PEERCRED, &peer_cred, &len)) { in client()360 if (peer_cred.pid != getppid()) { in client()361 log_err("peer_cred.pid != getppid(): %d != %d", peer_cred.pid, getppid()); in client()367 if (peer_pid != peer_cred.pid) { in client()368 log_err("peer_pid != peer_cred.pid: %d != %d", peer_pid, peer_cred.pid); in client()