Home
last modified time | relevance | path

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

/external/libchrome/mojo/public/cpp/platform/
Dsocket_utils_posix.cc30 bool GetPeerEuid(base::PlatformFile fd, uid_t* peer_euid) { in GetPeerEuid() argument
38 *peer_euid = socket_euid; in GetPeerEuid()
51 *peer_euid = cred.uid; in GetPeerEuid()
57 uid_t peer_euid; in IsPeerAuthorized() local
58 if (!GetPeerEuid(fd, &peer_euid)) in IsPeerAuthorized()
60 if (peer_euid != geteuid()) { in IsPeerAuthorized()