Lines Matching defs:cr_groups
1764 * Description: Set EGID by changing the first element of cr_groups for the
1801 if (pcred->cr_groups[i] == new_egid) {
1802 pcred->cr_groups[i] = old_egid;
1837 pcred->cr_groups[0] = new_egid;
2813 * EGID is cr_groups[0] as an implementation detail.
2828 if (gid == pcred->cr_groups[i]) {
3047 gid = pcred1->cr_groups[i];
3567 /* Caller *must* specify at least the egid in cr_groups[0] */
3600 bcopy(&pcred->cr_groups[0], &new_pcred->cr_groups[0], sizeof(new_pcred->cr_groups));
3749 if (pcred->cr_groups[0] == egid &&
3824 * the EGID is not modified (i.e. cr_groups[0] is the same), it
3849 if (pcred->cr_groups[i] != groups[i])
3867 bcopy(groups, temp_pcred->cr_groups, sizeof(temp_pcred->cr_groups));
3901 memcpy(grouplist, cred->cr_posix.cr_groups, sizeof(gid_t) * limit);
5102 printf("%d ", cred->cr_groups[i]);
5124 if ( the_cred->cr_groups[0] != 11 )
5126 if ( the_cred->cr_groups[1] != 81 )
5128 if ( the_cred->cr_groups[2] != 63947 )
5130 if ( the_cred->cr_groups[3] != 80288 )
5132 if ( the_cred->cr_groups[4] != 89006 )
5134 if ( the_cred->cr_groups[5] != 52173 )
5136 if ( the_cred->cr_groups[6] != 84524 )
5138 if ( the_cred->cr_groups[7] != 79 )
5140 if ( the_cred->cr_groups[8] != 80292 )
5142 if ( the_cred->cr_groups[9] != 80 )
5144 if ( the_cred->cr_groups[10] != 90824 )
5213 gid_t cr_groups[NGROUPS]; /* advisory group list */
5275 nextp->cr_groups[ j ] = found_cred->cr_groups[ j ];