getgroups
if ((len = getgroups(NGRPS, gids)) < 0)
# define getgroups(a,b) ((a)==0 && (b)==NULL ? NGROUPS_MAX : getgroups((a),(b)))
user_groupslen = getgroups(0, NULL);
if (getgroups(user_groupslen, user_groups) == -1)
saved_egroupslen = getgroups(0, NULL);
if (getgroups(saved_egroupslen, saved_egroups) == -1)
__ssp_redirect_raw(int, getgroups, getgroups, (int __len, gid_t *__buf),
int getgroups(int, gid_t []);
__sym_compat(getgroups, freebsd14_getgroups, FBSD_1.0);
if ((ngids = getgroups(ngids_max, gids)) < 0)
getgroups(__len, __stack.__buf);
getgroups(__len, __stack.__buf);
getgroups(__len, __stack.__buf);
getgroups(__len, __stack.__buf);
getgroups(__len, __stack.__buf);
PJDLOG_VERIFY(getgroups(0, NULL) == 0);
{ compat14(AS(freebsd14_getgroups_args),getgroups), .sy_auevent = AUE_GETGROUPS, .sy_flags = SYF_CAPENABLED, .sy_thrcnt = SY_THR_STATIC }, /* 79 = freebsd14 getgroups */
{ compat14(AS(freebsd14_getgroups_args),getgroups), .sy_auevent = AUE_GETGROUPS, .sy_flags = SYF_CAPENABLED, .sy_thrcnt = SY_THR_STATIC }, /* 79 = freebsd14 getgroups */
ATF_REQUIRE(getgroups(sizeof(gids)/sizeof(gids[0]), gids) != -1);
#define getgroups_ getgroups
uc_cfg.proc_cred.gid_num = getgroups(0, (gid_t *)NULL);
if (getgroups(uc_cfg.proc_cred.gid_num, uc_cfg.proc_cred.gid_arr) < 0) {
ngroups = getgroups(ngroups_max, groups);
ngroups = getgroups(ngroups_max, groups);
const int ngroups = getgroups(0, NULL);
if (getgroups(ngroups, supp_groups.groups +
if ((ngrps = getgroups(ngrps_max, (gid_t *)grps)) < 0) {
ngroups = getgroups(NGROUPS_MAX, gidset);
ngroups = getgroups(ngroups_max, groups);
ngroups = getgroups(ngroups_max, groups);