mapGroups are maps that tie uid with vector of gids. This fixes
misleading wording.
Change-Id: I982e8b474a25da189e16b8871f023e9110787b64
for (const auto& i : mapGroup) {
size += i.second.capacity() * sizeof(gid_t);
- std:: cerr << "gid: " << i.first << " |";
+ std::cerr << "uid: " << i.first << " | gids: ";
for (auto j : i.second)
std::cerr << " " << j << ",";
std::cerr << std::endl;
std::unique_ptr<NaivePolicyDbImpl> pimpl;
- mutable std::map<gid_t, VGid> mapGroups[MatchItemTypes::count];
+ mutable std::map<uid_t, VGid> mapGroups[MatchItemTypes::count];
/* A mutex for mapGroups */
mutable pthread_mutex_t mutexGroup = PTHREAD_MUTEX_INITIALIZER;