Lines Matching refs:cr_groups
1302 * Description: Set EGID by changing the first element of cr_groups for the
1330 gid_t old_egid = cred->cr_groups[0];
1338 if (cred->cr_groups[i] == new_egid) {
1339 cred->cr_groups[i] = old_egid;
1374 cred->cr_groups[0] = new_egid;
2066 * EGID is cr_groups[0] as an implementation detail.
2082 if (gid == cred->cr_groups[i]) {
2240 gid = cred1->cr_groups[i];
2412 return(kauth_cred_get()->cr_groups[0]);
2714 /* Caller *must* specify at least the egid in cr_groups[0] */
2746 bcopy(&cred->cr_groups[0], &new_cred->cr_groups[0], sizeof(new_cred->cr_groups));
2885 if (cred->cr_groups[0] == egid &&
2960 * the EGID is not modified (i.e. cr_groups[0] is the same), it
2981 if (cred->cr_groups[i] != groups[i])
2999 bcopy(groups, temp_cred.cr_groups, sizeof(temp_cred.cr_groups));
3057 cred->cr_groups[0] == gid && cred->cr_rgid == gid && cred->cr_svgid == gid) {
4173 printf("%d ", cred->cr_groups[i]);
4191 if ( the_cred->cr_groups[0] != 11 )
4193 if ( the_cred->cr_groups[1] != 81 )
4195 if ( the_cred->cr_groups[2] != 63947 )
4197 if ( the_cred->cr_groups[3] != 80288 )
4199 if ( the_cred->cr_groups[4] != 89006 )
4201 if ( the_cred->cr_groups[5] != 52173 )
4203 if ( the_cred->cr_groups[6] != 84524 )
4205 if ( the_cred->cr_groups[7] != 79 )
4207 if ( the_cred->cr_groups[8] != 80292 )
4209 if ( the_cred->cr_groups[9] != 80 )
4211 if ( the_cred->cr_groups[10] != 90824 )
4280 gid_t cr_groups[NGROUPS]; /* advisory group list */
4342 nextp->cr_groups[ j ] = found_cred->cr_groups[ j ];