Searched refs:outcr (Results 1 – 1 of 1) sorted by relevance
3949 cp_cred(struct expcred *outcr, struct expcred *incr) in cp_cred() argument3952 outcr->cr_uid = incr->cr_uid; in cp_cred()3953 outcr->cr_ngroups = incr->cr_ngroups; in cp_cred()3954 if (outcr->cr_ngroups > SMALLNGROUPS) in cp_cred()3955 outcr->cr_groups = malloc(outcr->cr_ngroups * sizeof(gid_t)); in cp_cred()3957 outcr->cr_groups = outcr->cr_smallgrps; in cp_cred()3958 memcpy(outcr->cr_groups, incr->cr_groups, incr->cr_ngroups * in cp_cred()