Lines Matching refs:cr
68 struct ucred *cr;
138 cr = p->p_ucred;
141 (u_long)cr->cr_uid,
142 (u_long)cr->cr_ruid,
143 (u_long)cr->cr_rgid);
145 /* egid (cr->cr_svgid) is equal to cr_ngroups[0]
148 for (i = 0; i < cr->cr_ngroups; i++) {
149 sbuf_printf(sb, ",%lu", (u_long)cr->cr_groups[i]);
152 if (jailed(cr)) {
153 mtx_lock(&cr->cr_prison->pr_mtx);
155 prison_name(td->td_ucred->cr_prison, cr->cr_prison));
156 mtx_unlock(&cr->cr_prison->pr_mtx);