Lines Matching refs:p_ucred
843 * p_ucred usage is safe as it is an exiting process
846 pp->si_uid = kauth_cred_getruid(p->p_ucred);
966 * proc internal fileds and p_ucred usage safe
974 trace_parent->si_uid = kauth_cred_getruid(child->p_ucred);
1035 * p_ucred usage is safe here as it is an exited process.
1039 (void)chgproccnt(kauth_cred_getruid(child->p_ucred), -1);
1050 if (IS_VALID_CRED(child->p_ucred)) {
1051 kauth_cred_unref(&child->p_ucred);
1054 /* XXXX Note NOT SAFE TO USE p_ucred from this point onwards */
1951 * p_ucred usage is safe as it is an exiting process
1954 pp->si_uid = kauth_cred_getruid(p->p_ucred);