Home
last modified time | relevance | path

Searched refs:tcrp (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/os/
H A Dcred.c595 hasprocperm(const cred_t *tcrp, const cred_t *scrp) in hasprocperm() argument
597 if (scrp == tcrp) in hasprocperm()
599 if (scrp->cr_zone != tcrp->cr_zone && in hasprocperm()
603 if (scrp->cr_uid == tcrp->cr_ruid || in hasprocperm()
604 scrp->cr_ruid == tcrp->cr_ruid || in hasprocperm()
605 scrp->cr_uid == tcrp->cr_suid || in hasprocperm()
606 scrp->cr_ruid == tcrp->cr_suid || in hasprocperm()
623 cred_t *tcrp; in prochasprocperm() local
634 crhold(tcrp = tp->p_cred); in prochasprocperm()
636 rets = hasprocperm(tcrp, scrp); in prochasprocperm()
[all …]
/illumos-gate/usr/src/lib/libnsl/nsl/
H A D_utility.c868 struct T_capability_req *tcrp = (struct T_capability_req *)ioctlbuf; in _t_create() local
891 tcrp->PRIM_type = T_CAPABILITY_REQ; in _t_create()
892 tcrp->CAP_bits1 = TC1_INFO | TC1_ACCEPTOR_ID; in _t_create()