/freebsd-11-stable/contrib/pf/authpf/ |
H A D | authpf.c | 504 int gl_init = 0, ngroups = NGROUPS + 1; local 541 pw->pw_gid, groups, &ngroups); 545 for ( cnt = 0; cnt < ngroups; cnt++) {
|
/freebsd-11-stable/contrib/atf/atf-c/detail/ |
H A D | user.c | 49 static int ngroups = -1; local 53 if (ngroups == -1) { 54 ngroups = getgroups(NGROUPS_MAX, groups); 55 INV(ngroups >= 0); 59 for (i = 0; !found && i < ngroups; i++)
|
/freebsd-11-stable/contrib/jemalloc/include/jemalloc/internal/ |
H A D | bitmap.h | 109 size_t ngroups; member in struct:bitmap_info_s 145 for (i = 0; i < binfo->ngroups; i++) {
|
/freebsd-11-stable/contrib/jemalloc/src/ |
H A D | bitmap.c | 81 binfo->ngroups = BITMAP_BITS2GROUPS(nbits); 89 return (binfo->ngroups); 101 bitmap[binfo->ngroups - 1] >>= extra;
|
/freebsd-11-stable/lib/libcasper/services/cap_grp/ |
H A D | cap_grp.c | 613 unsigned int ngroups; local 615 for (ngroups = 0; grp->gr_mem[ngroups] != NULL; ngroups++) { 617 ngroups); 619 nvlist_add_string(nvl, nvlname, grp->gr_mem[ngroups]); 621 nvlist_add_number(nvl, "gr_nmem", (uint64_t)ngroups);
|
/freebsd-11-stable/lib/libc/rpc/ |
H A D | netnamer.c | 150 gid_t ngroups = 0; local 160 if (ngroups == NGRPS) { 169 for (j = 0; j < ngroups; j++) 175 groups[ngroups++] = grp->gr_gid; 180 return (ngroups);
|
/freebsd-11-stable/lib/libc/gen/ |
H A D | initgroups.c | 49 int ngroups, ret; local 61 ngroups = (int)ngroups_max; 62 getgrouplist(uname, agroup, groups, &ngroups); 63 ret = setgroups(ngroups, groups);
|
/freebsd-11-stable/usr.bin/id/ |
H A D | id.c | 272 int cnt, ngroups; local 291 ngroups = ngroups_max; 292 getgrouplist(pw->pw_name, gid, groups, &ngroups); 295 ngroups = getgroups(ngroups_max, groups); 316 for (lastgid = -1, cnt = 0; cnt < ngroups; ++cnt) { 381 int cnt, id, lastid, ngroups; local 391 ngroups = ngroups_max; 392 (void) getgrouplist(pw->pw_name, pw->pw_gid, groups, &ngroups); 394 ngroups = getgroups(ngroups_max, groups); 397 for (lastid = -1, cnt = 0; cnt < ngroups; [all...] |
/freebsd-11-stable/usr.sbin/chown/ |
H A D | chown.c | 276 static int ngroups = -1; local 288 if (gid != (gid_t)-1 && ngroups == -1 && 293 ngroups = getgroups(ngroups_max, groups); 294 while (--ngroups >= 0 && gid != groups[ngroups]); 296 if (ngroups < 0) {
|
/freebsd-11-stable/sys/security/mac/ |
H A D | mac_cred.c | 270 mac_cred_check_setgroups(struct ucred *cred, int ngroups, gid_t *gidset) argument 274 MAC_POLICY_CHECK_NOSLEEP(cred_check_setgroups, cred, ngroups, gidset); 275 MAC_CHECK_PROBE3(cred_check_setgroups, error, cred, ngroups, gidset);
|
H A D | mac_framework.h | 117 int mac_cred_check_setgroups(struct ucred *cred, int ngroups,
|
H A D | mac_policy.h | 145 typedef int (*mpo_cred_check_setgroups_t)(struct ucred *cred, int ngroups,
|
/freebsd-11-stable/sys/security/mac_stub/ |
H A D | mac_stub.c | 247 stub_cred_check_setgroups(struct ucred *cred, int ngroups, argument
|
/freebsd-11-stable/sys/security/mac_test/ |
H A D | mac_test.c | 317 test_cred_check_setgroups(struct ucred *cred, int ngroups, argument
|
/freebsd-11-stable/sys/rpc/ |
H A D | authunix_prot.c | 67 uint32_t ngroups, i; local 104 ngroups = cred->cr_ngroups - 1; 105 if (ngroups > NGRPS) 106 ngroups = NGRPS; 109 if (!xdr_uint32_t(xdrs, &ngroups)) 111 for (i = 0; i < ngroups; i++) { 122 if (ngroups + 1 > ngroups_max + 1) 125 cred->cr_ngroups = ngroups + 1;
|
/freebsd-11-stable/sys/dev/iwn/ |
H A D | if_iwnreg.h | 1171 uint8_t ngroups; member in struct:iwn_phy_calib 1178 uint8_t ngroups; member in struct:iwn5000_phy_calib_crystal 1188 uint8_t ngroups; member in struct:iwn5000_phy_calib_temp_offset 1199 uint8_t ngroups; member in struct:iwn5000_phy_calib_temp_offsetv2 1210 uint8_t ngroups; member in struct:iwn_phy_calib_gain
|