Lines Matching defs:groups
1033 * get_auiliary_groups: Gets the supplementary groups from a credential.
1035 * IN: cred: credential to get the associated groups from.
1036 * OUT: groups: An array of gids of NGROUPS size.
1037 * IN: count: The number of groups to get; i.e.; the number of groups the server supports
1039 * returns: The number of groups found.
1045 get_auxiliary_groups(kauth_cred_t cred, gid_t groups[NGROUPS], int count)
1052 groups[i] = -2; /* Initialize to the nobody group */
1054 (void)kauth_cred_getgroups(cred, groups, &maxcount);
1060 * users auxiliary groups. If the number of groups the server supports
1068 if (pgid == groups[0]) {
1071 groups[i] = groups[i+1];
2578 * supplementary groups...
2582 * the groups are equivalent, since
2585 * group, order on the remaining groups
2589 gid_t groups[NGROUPS];
2594 if (!kauth_cred_getgroups(cred, groups, &groupcount) &&
2598 if (groups[i] != groups2[i])