Lines Matching defs:temp_pcred

3664 	posix_cred_t temp_pcred = posix_cred_get(&temp_cred);
3687 temp_pcred->cr_uid = euid;
3690 temp_pcred->cr_ruid = ruid;
3693 temp_pcred->cr_svuid = svuid;
3701 if ((temp_pcred->cr_gmuid = gmuid) == KAUTH_UID_NONE) {
3702 temp_pcred->cr_flags |= CRF_NOMEMBERD;
3739 posix_cred_t temp_pcred = posix_cred_get(&temp_cred);
3765 temp_pcred->cr_flags |= CRF_NOMEMBERD;
3766 temp_pcred->cr_gmuid = KAUTH_UID_NONE;
3772 temp_pcred->cr_rgid = rgid;
3775 temp_pcred->cr_svgid = svgid;
3836 posix_cred_t temp_pcred = posix_cred_get(&temp_cred);
3866 temp_pcred->cr_ngroups = groupcount;
3867 bcopy(groups, temp_pcred->cr_groups, sizeof(temp_pcred->cr_groups));
3868 temp_pcred->cr_gmuid = gmuid;
3870 temp_pcred->cr_flags |= CRF_NOMEMBERD;
3872 temp_pcred->cr_flags &= ~CRF_NOMEMBERD;
3946 posix_cred_t temp_pcred = posix_cred_get(&temp_cred);
3968 temp_pcred->cr_uid = uid;
3969 temp_pcred->cr_ruid = uid;
3970 temp_pcred->cr_svuid = uid;
3971 temp_pcred->cr_flags = pcred->cr_flags;
3974 temp_pcred->cr_gmuid = KAUTH_UID_NONE;
3975 temp_pcred->cr_flags |= CRF_NOMEMBERD;
3977 temp_pcred->cr_gmuid = uid;
3978 temp_pcred->cr_flags &= ~CRF_NOMEMBERD;
3980 temp_pcred->cr_ngroups = 1;
3983 temp_pcred->cr_gmuid = KAUTH_UID_NONE;
3984 temp_pcred->cr_flags |= CRF_NOMEMBERD;
3986 temp_pcred->cr_rgid = gid;
3987 temp_pcred->cr_svgid = gid;
4024 posix_cred_t temp_pcred = posix_cred_get(&temp_cred);
4048 temp_pcred->cr_svuid = uid;
4049 temp_pcred->cr_svgid = gid;
4637 posix_cred_t temp_pcred = posix_cred_get(&temp_cred);
4652 temp_pcred->cr_uid = pcred->cr_ruid;
4655 temp_pcred->cr_flags |= CRF_NOMEMBERD;
4656 temp_pcred->cr_gmuid = KAUTH_UID_NONE;
4662 if (temp_pcred->cr_gmuid != KAUTH_UID_NONE)
4663 temp_pcred->cr_gmuid = pcred->cr_ruid;