Searched refs:maxgrp (Results 1 - 7 of 7) sorted by relevance

/osnet-11/usr/src/lib/libnsl/rpc/
H A Dauth_sys.c173 int maxgrp = getgroups(0, NULL); local
174 gid_t *gids = alloca(maxgrp * sizeof (gid_t));
183 if ((len = getgroups(maxgrp, gids)) < 0) {
208 int maxgrp = getgroups(0, NULL); local
209 gid_t *gids = alloca(maxgrp * sizeof (gid_t));
220 if ((len = getgroups(maxgrp, gids)) < 0) {
H A Dnetnamer.c315 int maxgrp = sysconf(_SC_NGROUPS_MAX); local
316 gid_t *groups = alloca(maxgrp * sizeof (gid_t));
350 ngroups = _getgroupsbymember(pw.pw_name, groups, maxgrp,
/osnet-11/usr/src/lib/libbsm/common/
H A Dgeneric.c422 int maxgrp = getgroups(0, NULL); local
423 gid_t *grplst = alloca(maxgrp * sizeof (gid_t));
425 if ((ng = getgroups(maxgrp, grplst)) > 0) {
H A Dadt_token.c611 int maxgrp = getgroups(0, NULL); local
612 gid_t *grouplist = alloca(maxgrp * sizeof (gid_t));
614 if ((group_count = getgroups(maxgrp, grouplist)) > 0) {
/osnet-11/usr/src/lib/libsocket/inet/
H A Drcmd.c570 int maxgrp = getgroups(0, NULL); local
571 gid_t *grouplist = alloca(maxgrp * sizeof (gid_t));
611 if ((ngroups = getgroups(maxgrp, grouplist)) == -1)
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Dmg.c903 int maxgrp = getgroups(0, NULL); local
904 Groups_t *gary = alloca(maxgrp * sizeof (Groups_t));
905 i = getgroups(maxgrp,gary);
2386 int maxgrp = sysconf(_SC_NGROUPS_MAX); local
2387 Groups_t *gary = alloca(maxgrp * sizeof (Groups_t));
2389 int maxgrp = NGROUPS; local
2396 for (i = 0; i < maxgrp; ++i) {
H A Ddoio.c1893 int maxgrp = getgroups(0, NULL);
1894 Groups_t *gary = alloca(maxgrp * sizeof (Groups_t));
1896 anum = getgroups(maxgrp,gary);

Completed in 37 milliseconds