Searched refs:gr_gid (Results 1 – 5 of 5) sorted by relevance
50 if (group_member(plugdev_group->gr_gid) || getegid() == plugdev_group->gr_gid) { in GetUdevProblem()
63 gid_t gr_gid = -1; in ChangeDirModeAndOwner() local73 gr_gid = -1; in ChangeDirModeAndOwner()81 gr_gid = gid_pwd->gr_gid; in ChangeDirModeAndOwner()100 if (pw_uid != -1 && lchown(file_path.c_str(), pw_uid, gr_gid) < 0) { in ChangeDirModeAndOwner()
113 return gr->gr_gid; in lookup_gid()
71 gid_t gid = grp->gr_gid; in ParsePermissionsLine()
400 ASSERT_EQ(0, chown(trg.c_str(), /* root uid */ 0, g->gr_gid)) in Prepare()