Searched refs:ngroups (Results 1 – 2 of 2) sorted by relevance
467 int ngroups; in in_gid() local478 ngroups = getgroups_alloc(&gids); in in_gid()479 if (ngroups < 0) in in_gid()480 return ngroups; in in_gid()482 return gid_list_has(gids, ngroups, gid); in in_gid()521 int ngroups = 8; in getgroups_alloc() local524 allocated = new(gid_t, ngroups); in getgroups_alloc()530 ngroups = getgroups(ngroups, p); in getgroups_alloc()531 if (ngroups >= 0) in getgroups_alloc()542 ngroups = getgroups(0, NULL); in getgroups_alloc()[all …]
673 int ngroups_max, ngroups, r, i; in TEST() local698 ngroups = getgroups(ngroups_max, gids); in TEST()699 assert_se(ngroups >= 0); in TEST()702 for (i = 0; i < ngroups; i++) { in TEST()