Searched refs:maxgrp (Results 1 – 9 of 9) sorted by relevance
/titanic_50/usr/src/ucbcmd/groups/ |
H A D | groups.c | 39 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 D | auth_sys.c | 174 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 D | netnamer.c | 317 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 D | audit_allocate.c | 132 int maxgrp = getgroups(0, NULL); local 134 grplst = alloca(maxgrp * sizeof (gid_t)); 136 if ((ng = getgroups(maxgrp, grplst)) < 0) {
|
H A D | generic.c | 423 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 D | adt_token.c | 603 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 D | lpset.c | 58 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 D | myaudit.c | 218 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 D | rcmd.c | 567 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()
|