Lines Matching refs:p_ucred
928 * p_ucred usage is safe as it is an exiting process
931 pp->si_uid = kauth_cred_getruid(p->p_ucred);
1051 * proc internal fileds and p_ucred usage safe
1059 trace_parent->si_uid = kauth_cred_getruid(child->p_ucred);
1125 * p_ucred usage is safe here as it is an exited process.
1129 (void)chgproccnt(kauth_cred_getruid(child->p_ucred), -1);
1140 if (IS_VALID_CRED(child->p_ucred)) {
1141 kauth_cred_unref(&child->p_ucred);
1144 /* XXXX Note NOT SAFE TO USE p_ucred from this point onwards */
2135 * p_ucred usage is safe as it is an exiting process
2138 pp->si_uid = kauth_cred_getruid(p->p_ucred);