Lines Matching refs:cr_uid
1393 return(cred->cr_uid);
2295 return(cred->cr_uid == 0);
2378 return(kauth_cred_get()->cr_uid);
2712 cred->cr_gmuid = cred->cr_uid;
2739 new_cred->cr_uid = cred->cr_uid;
2811 if ((euid == KAUTH_UID_NONE || cred->cr_uid == euid) &&
2825 temp_cred.cr_uid = euid;
3056 if (cred->cr_uid == uid && cred->cr_ruid == uid && cred->cr_svuid == uid &&
3067 temp_cred.cr_uid = uid;
3726 if ((cred->cr_ruid == cred->cr_uid) &&
3737 temp_cred.cr_uid = cred->cr_ruid;
4028 match = (bcmp(&found_cred->cr_uid, &cred->cr_uid,
4030 offsetof(struct ucred, cr_uid))) == 0);
4034 bcmp(&found_cred->cr_uid, &cred->cr_uid,
4036 offsetof(struct ucred, cr_uid))) == 0);
4101 hash_key = kauth_cred_hash((uint8_t *)&cred->cr_uid,
4104 offsetof(struct ucred, cr_uid),
4168 printf("%p - refs %lu flags 0x%08x uids e%d r%d sv%d gm%d ", cred, cred->cr_ref, cred->cr_flags, cred->cr_uid, cred->cr_ruid, cred->cr_svuid, cred->cr_gmuid);
4183 if ( the_cred->cr_uid != 0 )
4276 uid_t cr_uid; /* effective user id */
4337 nextp->cr_uid = found_cred->cr_uid;