Lines Matching refs:groups
1823 * for this host set in the groups.
2272 /* Now, check all the groups. */
3535 gid_t groups[NGROUPS_MAX + 1];
3565 if (getgrouplist(pw->pw_name, pw->pw_gid, groups, &ngroups)) {
3566 syslog(LOG_ERR, "too many groups");
3573 if (ngroups > 1 && groups[0] == groups[1]) {
3583 cr->cr_groups[0] = groups[0];
3584 memcpy(&cr->cr_groups[1], &groups[inpos], (ngroups - 1) *
3604 groups[cr->cr_ngroups++] = atoi(name);
3610 groups[cr->cr_ngroups++] = gr->gr_gid;
3614 syslog(LOG_ERR, "too many groups");
3617 memcpy(cr->cr_groups, groups, cr->cr_ngroups * sizeof(gid_t));