Searched refs:outcr (Results 1 – 1 of 1) sorted by relevance
4111 cp_cred(struct expcred *outcr, struct expcred *incr) in cp_cred() argument4114 outcr->cr_uid = incr->cr_uid; in cp_cred()4115 outcr->cr_ngroups = incr->cr_ngroups; in cp_cred()4116 if (outcr->cr_ngroups > SMALLNGROUPS) in cp_cred()4117 outcr->cr_groups = malloc(outcr->cr_ngroups * sizeof(gid_t)); in cp_cred()4119 outcr->cr_groups = outcr->cr_smallgrps; in cp_cred()4120 memcpy(outcr->cr_groups, incr->cr_groups, incr->cr_ngroups * in cp_cred()