Home
last modified time | relevance | path

Searched refs:nGroupsMax (Results 1 – 1 of 1) sorted by relevance

/titanic_50/usr/src/cmd/cron/
H A Dcron.c3208 static size_t nGroupsMax = (size_t)-1; in verify_user_cred() local
3241 if (nGroupsMax == (size_t)-1) { in verify_user_cred()
3242 if ((nGroupsMax = sysconf(_SC_NGROUPS_MAX)) > 0) { in verify_user_cred()
3243 UsrGrps = xcalloc(nGroupsMax, sizeof (gid_t)); in verify_user_cred()
3244 OrigGrps = xcalloc(nGroupsMax, sizeof (gid_t)); in verify_user_cred()
3248 (void) fprintf(stderr, "nGroupsMax = %ld\n", nGroupsMax); in verify_user_cred()
3261 if (nGroupsMax > 0) { in verify_user_cred()
3262 numOrigGrps = getgroups(nGroupsMax, OrigGrps); in verify_user_cred()
3265 numUsrGrps = getgroups(nGroupsMax, UsrGrps); in verify_user_cred()