Home
last modified time | relevance | path

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

/titanic_50/usr/src/ucbcmd/groups/
H A Dgroups.c39 int maxgrp = sysconf(_SC_NGROUPS_MAX); in main() local
41 groups = alloca(maxgrp * sizeof (gid_t)); in main()
49 ngroups = getgroups(maxgrp, groups); in main()
/titanic_50/usr/src/lib/libnsl/rpc/
H A Dauth_sys.c174 int maxgrp = getgroups(0, NULL); in authsys_create_default() local
175 gid_t *gids = alloca(maxgrp * sizeof (gid_t)); in authsys_create_default()
184 if ((len = getgroups(maxgrp, gids)) < 0) { in authsys_create_default()
209 int maxgrp = getgroups(0, NULL); in authsys_create_ruid() local
210 gid_t *gids = alloca(maxgrp * sizeof (gid_t)); in authsys_create_ruid()
221 if ((len = getgroups(maxgrp, gids)) < 0) { in authsys_create_ruid()
H A Dnetnamer.c317 int maxgrp = sysconf(_SC_NGROUPS_MAX); in netname2user_ldap() local
318 gid_t *groups = alloca(maxgrp * sizeof (gid_t)); in netname2user_ldap()
352 ngroups = _getgroupsbymember(pw.pw_name, groups, maxgrp, in netname2user_ldap()
/titanic_50/usr/src/lib/libbsm/common/
H A Daudit_allocate.c132 int maxgrp = getgroups(0, NULL); local
134 grplst = alloca(maxgrp * sizeof (gid_t));
136 if ((ng = getgroups(maxgrp, grplst)) < 0) {
H A Dgeneric.c423 int maxgrp = getgroups(0, NULL); in aug_audit() local
424 gid_t *grplst = alloca(maxgrp * sizeof (gid_t)); in aug_audit()
426 if ((ng = getgroups(maxgrp, grplst)) > 0) { in aug_audit()
H A Dadt_token.c603 int maxgrp = getgroups(0, NULL); in adt_to_subject() local
604 gid_t *grouplist = alloca(maxgrp * sizeof (gid_t)); in adt_to_subject()
606 if ((group_count = getgroups(maxgrp, grouplist)) > 0) { in adt_to_subject()
/titanic_50/usr/src/cmd/print/lpset/
H A Dlpset.c58 int maxgrp; in authorized() local
73 maxgrp = getgroups(0, NULL); in authorized()
74 list = alloca(maxgrp * sizeof (gid_t)); in authorized()
76 if ((len = getgroups(maxgrp, list)) != -1) in authorized()
/titanic_50/usr/src/cmd/smserverd/
H A Dmyaudit.c218 int maxgrp = getgroups(0, NULL); in audit_audit() local
219 gid_t *grplst = alloca(maxgrp * sizeof (gid_t)); in audit_audit()
221 if ((ng = getgroups(maxgrp, grplst))) { in audit_audit()
/titanic_50/usr/src/lib/libsocket/inet/
H A Drcmd.c567 int maxgrp = getgroups(0, NULL); in ruserok() local
568 gid_t *grouplist = alloca(maxgrp * sizeof (gid_t)); in ruserok()
608 if ((ngroups = getgroups(maxgrp, grouplist)) == -1) in ruserok()