Searched refs:groupcount (Results 1 – 3 of 3) sorted by relevance
| /xnu-8019.80.24/bsd/kern/ |
| H A D | kern_credential.c | 4133 kauth_cred_setgroups(kauth_cred_t cred, gid_t *groups, size_t groupcount, uid_t gmuid) in kauth_cred_setgroups() argument 4140 assert(groupcount <= NGROUPS); in kauth_cred_setgroups() 4141 groupcount = MIN(groupcount, NGROUPS); in kauth_cred_setgroups() 4149 if ((pcred->cr_gmuid == gmuid) && (pcred->cr_ngroups == groupcount)) { in kauth_cred_setgroups() 4150 for (i = 0; i < groupcount; i++) { in kauth_cred_setgroups() 4155 if (i == groupcount) { in kauth_cred_setgroups() 4169 temp_pcred->cr_ngroups = (short)groupcount; in kauth_cred_setgroups() 4170 bcopy(groups, temp_pcred->cr_groups, groupcount * sizeof(temp_pcred->cr_groups[0])); in kauth_cred_setgroups()
|
| /xnu-8019.80.24/bsd/nfs/ |
| H A D | nfs_subs.c | 1287 size_t groupcount = 0; in nfsm_rpchead2() local 1301 groupcount = get_auxiliary_groups(cred, grouplist, count); in nfsm_rpchead2() 1302 auth_len = ((uint32_t)groupcount + 5) * NFSX_UNSIGNED; in nfsm_rpchead2() 1392 nfsm_chain_add_32(error, &nmreq, groupcount);/* additional GIDs */ in nfsm_rpchead2() 1393 for (i = 0; i < groupcount; i++) { in nfsm_rpchead2() 1421 groupcount = get_auxiliary_groups(cred, grouplist, count); in nfsm_rpchead2() 1422 auth_len = ((uint32_t)groupcount + 5) * NFSX_UNSIGNED; in nfsm_rpchead2() 2971 size_t groupcount = NGROUPS; in nfsrv_hang_addrlist() local 2974 if (!kauth_cred_getgroups(cred, groups, &groupcount) && in nfsrv_hang_addrlist() 2976 groupcount == group2count) { in nfsrv_hang_addrlist()
|
| /xnu-8019.80.24/bsd/sys/ |
| H A D | kauth.h | 254 extern kauth_cred_t kauth_cred_setgroups(kauth_cred_t cred, gid_t *groups, size_t groupcount, uid_t…
|