Home
last modified time | relevance | path

Searched refs:outcr (Results 1 – 1 of 1) sorted by relevance

/freebsd-13-stable/usr.sbin/mountd/
HDmountd.c4030 cp_cred(struct expcred *outcr, struct expcred *incr) in cp_cred() argument
4033 outcr->cr_uid = incr->cr_uid; in cp_cred()
4034 outcr->cr_ngroups = incr->cr_ngroups; in cp_cred()
4035 if (outcr->cr_ngroups > SMALLNGROUPS) in cp_cred()
4036 outcr->cr_groups = malloc(outcr->cr_ngroups * sizeof(gid_t)); in cp_cred()
4038 outcr->cr_groups = outcr->cr_smallgrps; in cp_cred()
4039 memcpy(outcr->cr_groups, incr->cr_groups, incr->cr_ngroups * in cp_cred()