Searched refs:ngrps_max (Results 1 – 1 of 1) sorted by relevance
149 long lgid, ngrps_max; in addgroup() local189 ngrps_max = sysconf(_SC_NGROUPS_MAX) + 1; in addgroup()190 if ((grps = malloc(sizeof(gid_t) * ngrps_max)) == NULL) in addgroup()192 if ((ngrps = getgroups(ngrps_max, (gid_t *)grps)) < 0) { in addgroup()224 if (ngrps == ngrps_max) in addgroup()