Searched refs:peer_euid (Results 1 – 4 of 4) sorted by relevance
140 bool GetPeerEuid(int fd, uid_t* peer_euid) { in GetPeerEuid() argument141 DCHECK(peer_euid); in GetPeerEuid()149 *peer_euid = socket_euid; in GetPeerEuid()162 *peer_euid = cred.uid; in GetPeerEuid()168 uid_t peer_euid; in IsPeerAuthorized() local169 if (!GetPeerEuid(peer_fd, &peer_euid)) in IsPeerAuthorized()171 if (peer_euid != geteuid()) { in IsPeerAuthorized()
40 IPC_EXPORT bool GetPeerEuid(int fd, uid_t* peer_euid);
82 bool GetPeerEuid(uid_t* peer_euid) const;
580 bool ChannelPosix::GetPeerEuid(uid_t* peer_euid) const { in GetPeerEuid()582 return IPC::GetPeerEuid(pipe_, peer_euid); in GetPeerEuid()