Lines Matching refs:groups
52 static GID_T groups[NGROUPS]; variable
91 static int readgroups(GID_T groups[NGROUPS]) in readgroups()
104 groups[ngrps++] = grp->gr_gid; in readgroups()
120 if (groups[i] == g) in readgroups()
124 groups[ngrps++] = g; in readgroups()
142 ngroups = readgroups(groups); in setup()
149 if (SETGROUPS(cleanup, ngroups, groups) == -1) in setup()
176 if (groups_list[i] != groups[j]) { in verify_groups()
196 if (groups[i] != groups_list[j]) { in verify_groups()
203 if (groups[i] != egid) { in verify_groups()
207 groups[i], TESTUSER); in verify_groups()