Searched defs:maxgroups (Results 1 - 5 of 5) sorted by relevance
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | util.c | 71 int ret, maxgroups; local 75 maxgroups = *ngroups; 81 if (ng >= maxgroups) 84 if (ng >= maxgroups) 96 if (ng >= maxgroups)
|
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | suid_exec.c | 313 static int maxgroups; local 316 if(maxgroups==0) 319 if((maxgroups=getgroups(0,groups)) < 0) 322 maxgroups=NGROUPS_MAX; 325 groups = (gid_t*)malloc((maxgroups+1)*sizeof(gid_t)); 326 n = getgroups(maxgroups,groups);
|
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | id.c | 220 static int maxgroups; local 226 if (!maxgroups) 232 if ((maxgroups = getgroups(0, groups)) <= 0) 233 maxgroups = NGROUPS_MAX; 234 if (!(groups = newof(0, gid_t, maxgroups + 1, 0))) 237 ngroups = getgroups(maxgroups, groups);
|
/illumos-gate/usr/src/lib/libgss/ |
H A D | gssd_pname_to_uid.c | 443 int maxgroups; local 453 maxgroups = sysconf(_SC_NGROUPS_MAX); 454 if (maxgroups < 1) 455 maxgroups = 16; 465 *gids = (gid_t *)calloc(maxgroups, sizeof (gid_t)); 471 *gidsLen = _getgroupsbymember(pw->pw_name, *gids, maxgroups, 1);
|
/illumos-gate/usr/src/lib/libshell/common/bltins/ |
H A D | test.c | 605 static int maxgroups; local 608 if(maxgroups==0) 611 if((maxgroups=getgroups(0,(gid_t*)0)) <= 0) 614 maxgroups=NGROUPS_MAX; 617 groups = (gid_t*)stakalloc((maxgroups+1)*sizeof(gid_t)); 618 n = getgroups(maxgroups,groups);
|
Completed in 68 milliseconds