Searched refs:gr_gid (Results 1 – 5 of 5) sorted by relevance
67 if (std::find(groups.begin(), groups.end(), plugdev_group->gr_gid) != groups.end() || in GetUdevProblem()68 getegid() == plugdev_group->gr_gid) { in GetUdevProblem()
66 gid_t gr_gid = -1; in ChangeDirModeAndOwner() local76 gr_gid = -1; in ChangeDirModeAndOwner()84 gr_gid = gid_pwd->gr_gid; in ChangeDirModeAndOwner()103 if (pw_uid != -1 && lchown(file_path.c_str(), pw_uid, gr_gid) < 0) { in ChangeDirModeAndOwner()
71 gid_t gid = grp->gr_gid; in ParsePermissionsLine()127 gid = grp->gr_gid; in ParseExternalFirmwareHandlerLine()
113 return gr->gr_gid; in lookup_gid()
335 ASSERT_EQ(0, chown(trg.c_str(), /* root uid */ 0, g->gr_gid)) in Prepare()