Searched refs:supplemental_groups (Results 1 – 1 of 1) sorted by relevance
/system/logging/logd/ |
D | LogPermissions.cpp | 155 auto supplemental_groups = std::vector<gid_t>(16, -1); in clientHasLogCredentials() local 156 socklen_t groups_size = supplemental_groups.size() * sizeof(gid_t); in clientHasLogCredentials() 158 int result = getsockopt(cli->getSocket(), SOL_SOCKET, SO_PEERGROUPS, supplemental_groups.data(), in clientHasLogCredentials() 166 supplemental_groups.resize(groups_size / sizeof(gid_t), -1); in clientHasLogCredentials() 167 result = getsockopt(cli->getSocket(), SOL_SOCKET, SO_PEERGROUPS, supplemental_groups.data(), in clientHasLogCredentials() 176 supplemental_groups.resize(groups_size / sizeof(gid_t), -1); in clientHasLogCredentials() 177 for (const auto& gid : supplemental_groups) { in clientHasLogCredentials()
|