Searched refs:maxgroups (Results 1 – 6 of 6) sorted by relevance
/titanic_50/usr/src/lib/libresolv2/common/irs/ |
H A D | util.c | 71 int ret, maxgroups; in make_group_list() local 75 maxgroups = *ngroups; in make_group_list() 81 if (ng >= maxgroups) in make_group_list() 84 if (ng >= maxgroups) in make_group_list() 96 if (ng >= maxgroups) in make_group_list()
|
/titanic_50/usr/src/cmd/ssh/libopenbsd-compat/common/ |
H A D | getgrouplist.c | 58 int ret, maxgroups; local 63 maxgroups = *grpcnt; 68 if (ngroups >= maxgroups) { 88 if (ngroups >= maxgroups) {
|
/titanic_50/usr/src/lib/libshell/common/sh/ |
H A D | suid_exec.c | 313 static int maxgroups; in eaccess() local 316 if(maxgroups==0) in eaccess() 319 if((maxgroups=getgroups(0,groups)) < 0) in eaccess() 322 maxgroups=NGROUPS_MAX; in eaccess() 325 groups = (gid_t*)malloc((maxgroups+1)*sizeof(gid_t)); in eaccess() 326 n = getgroups(maxgroups,groups); in eaccess()
|
/titanic_50/usr/src/lib/libcmd/common/ |
H A D | id.c | 220 static int maxgroups; in getids() local 226 if (!maxgroups) in getids() 232 if ((maxgroups = getgroups(0, groups)) <= 0) in getids() 233 maxgroups = NGROUPS_MAX; in getids() 234 if (!(groups = newof(0, gid_t, maxgroups + 1, 0))) in getids() 237 ngroups = getgroups(maxgroups, groups); in getids()
|
/titanic_50/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);
|
/titanic_50/usr/src/lib/libshell/common/bltins/ |
H A D | test.c | 605 static int maxgroups; in sh_access() local 608 if(maxgroups==0) in sh_access() 611 if((maxgroups=getgroups(0,(gid_t*)0)) <= 0) in sh_access() 614 maxgroups=NGROUPS_MAX; in sh_access() 617 groups = (gid_t*)stakalloc((maxgroups+1)*sizeof(gid_t)); in sh_access() 618 n = getgroups(maxgroups,groups); in sh_access()
|