Searched defs:nGroupsMax (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/cron/
H A Dcron.c3208 static size_t nGroupsMax = (size_t)-1; local
3212 * be nGroupsMax elements long, used for verifying user
3241 if (nGroupsMax == (size_t)-1) {
3242 if ((nGroupsMax = sysconf(_SC_NGROUPS_MAX)) > 0) {
3243 UsrGrps = xcalloc(nGroupsMax, sizeof (gid_t));
3244 OrigGrps = xcalloc(nGroupsMax, sizeof (gid_t));
3248 (void) fprintf(stderr, "nGroupsMax = %ld\n", nGroupsMax);
3261 if (nGroupsMax > 0) {
3262 numOrigGrps = getgroups(nGroupsMax, OrigGrp
[all...]

Completed in 73 milliseconds