Lines Matching refs:cr_rgid
2245 if (!res && gid != cred2->cr_rgid && gid != cred2->cr_svgid) {
2252 if ((err = kauth_cred_ismember_gid(cred2, cred1->cr_rgid, &res)) != 0) {
2256 if (!res && cred1->cr_rgid != cred2->cr_rgid &&
2257 cred1->cr_rgid != cred2->cr_svgid) {
2267 if (!res && cred1->cr_svgid != cred2->cr_rgid &&
2429 return(kauth_cred_get()->cr_rgid);
2742 new_cred->cr_rgid = cred->cr_rgid;
2886 cred->cr_rgid == rgid &&
2908 temp_cred.cr_rgid = rgid;
3057 cred->cr_groups[0] == gid && cred->cr_rgid == gid && cred->cr_svgid == gid) {
3084 temp_cred.cr_rgid = gid;
3727 (cred->cr_rgid == cred->cr_gid)) {
3739 if (kauth_cred_change_egid(&temp_cred, cred->cr_rgid)) {
4175 printf("r%d sv%d ", cred->cr_rgid, cred->cr_svgid);
4213 if ( the_cred->cr_rgid != 11 )
4281 gid_t cr_rgid; /* real group id */
4344 nextp->cr_rgid = found_cred->cr_rgid;