Searched refs:outcr (Results 1 – 1 of 1) sorted by relevance
4092 cp_cred(struct expcred *outcr, struct expcred *incr) in cp_cred() argument4095 outcr->cr_uid = incr->cr_uid; in cp_cred()4096 outcr->cr_ngroups = incr->cr_ngroups; in cp_cred()4097 if (outcr->cr_ngroups > SMALLNGROUPS) in cp_cred()4098 outcr->cr_groups = malloc(outcr->cr_ngroups * sizeof(gid_t)); in cp_cred()4100 outcr->cr_groups = outcr->cr_smallgrps; in cp_cred()4101 memcpy(outcr->cr_groups, incr->cr_groups, incr->cr_ngroups * in cp_cred()