Lines Matching refs:ngrp
447 int ngrp;
454 if ((ngrp = uap->gidsetsize) == 0) {
459 if (ngrp < cred->cr_ngroups) {
463 ngrp = cred->cr_ngroups;
466 ngrp * sizeof(gid_t)))) {
471 *retval = ngrp;
1556 u_int ngrp;
1564 ngrp = gidsetsize;
1565 if (ngrp > NGROUPS)
1568 if ( ngrp < 1 ) {
1569 ngrp = 1;
1572 (caddr_t)newgroups, ngrp * sizeof(gid_t));
1600 uthread->uu_ucred = kauth_cred_setgroups(my_cred, &newgroups[0], ngrp, gmuid);
1621 my_new_cred = kauth_cred_setgroups(my_cred, &newgroups[0], ngrp, gmuid);
1648 AUDIT_ARG(groupset, my_cred->cr_groups, ngrp);