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