Lines Matching refs:tcrp
592 hasprocperm(const cred_t *tcrp, const cred_t *scrp) in hasprocperm() argument
594 if (scrp == tcrp) in hasprocperm()
596 if (scrp->cr_zone != tcrp->cr_zone && in hasprocperm()
600 if (scrp->cr_uid == tcrp->cr_ruid || in hasprocperm()
601 scrp->cr_ruid == tcrp->cr_ruid || in hasprocperm()
602 scrp->cr_uid == tcrp->cr_suid || in hasprocperm()
603 scrp->cr_ruid == tcrp->cr_suid || in hasprocperm()
620 cred_t *tcrp; in prochasprocperm() local
631 crhold(tcrp = tp->p_cred); in prochasprocperm()
633 rets = hasprocperm(tcrp, scrp); in prochasprocperm()
634 crfree(tcrp); in prochasprocperm()