Searched refs:peer_euid (Results 1 – 1 of 1) sorted by relevance
30 bool GetPeerEuid(base::PlatformFile fd, uid_t* peer_euid) { in GetPeerEuid() argument38 *peer_euid = socket_euid; in GetPeerEuid()51 *peer_euid = cred.uid; in GetPeerEuid()57 uid_t peer_euid; in IsPeerAuthorized() local58 if (!GetPeerEuid(fd, &peer_euid)) in IsPeerAuthorized()60 if (peer_euid != geteuid()) { in IsPeerAuthorized()