Lines Matching refs:groups
38 "groups the current process belongs to will also be written.]"
49 "[G:groups?Writes only the supplementary group IDs.]"
50 "[s:fair-share?Writes fair share scheduler IDs and groups on systems that "
216 static gid_t* groups;
223 * get supplemental groups if required
232 if ((maxgroups = getgroups(0, groups)) <= 0)
234 if (!(groups = newof(0, gid_t, maxgroups + 1, 0)))
237 ngroups = getgroups(maxgroups, groups);
240 for (k = 0; k < j && groups[k] != groups[i]; k++);
241 if (k >= j) groups[j++] = groups[i];
286 if (ngroups == 1 && groups[0] == group)
314 sfputr(sp, " groups", -1);
337 sfputr(sp, " groups", -1);
341 group = groups[i];
397 group = groups[i];