Home
last modified time | relevance | path

Searched refs:peer_euid (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/ipc/
Dunix_domain_socket_util.cc140 bool GetPeerEuid(int fd, uid_t* peer_euid) { in GetPeerEuid() argument
141 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() local
169 if (!GetPeerEuid(peer_fd, &peer_euid)) in IsPeerAuthorized()
171 if (peer_euid != geteuid()) { in IsPeerAuthorized()
Dunix_domain_socket_util.h40 IPC_EXPORT bool GetPeerEuid(int fd, uid_t* peer_euid);
Dipc_channel_posix.h82 bool GetPeerEuid(uid_t* peer_euid) const;
Dipc_channel_posix.cc580 bool ChannelPosix::GetPeerEuid(uid_t* peer_euid) const { in GetPeerEuid()
582 return IPC::GetPeerEuid(pipe_, peer_euid); in GetPeerEuid()