Searched refs:maxgrp (Results 1 - 9 of 9) sorted by relevance
/illumos-gate/usr/src/ucbcmd/groups/ |
H A D | groups.c | 39 int maxgrp = sysconf(_SC_NGROUPS_MAX); local 41 groups = alloca(maxgrp * sizeof (gid_t)); 49 ngroups = getgroups(maxgrp, groups);
|
/illumos-gate/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); local 424 gid_t *grplst = alloca(maxgrp * sizeof (gid_t)); 426 if ((ng = getgroups(maxgrp, grplst)) > 0) {
|
H A D | adt_token.c | 603 int maxgrp = getgroups(0, NULL); local 604 gid_t *grouplist = alloca(maxgrp * sizeof (gid_t)); 606 if ((group_count = getgroups(maxgrp, grouplist)) > 0) {
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | auth_sys.c | 174 int maxgrp = getgroups(0, NULL); local 175 gid_t *gids = alloca(maxgrp * sizeof (gid_t)); 184 if ((len = getgroups(maxgrp, gids)) < 0) { 209 int maxgrp = getgroups(0, NULL); local 210 gid_t *gids = alloca(maxgrp * sizeof (gid_t)); 221 if ((len = getgroups(maxgrp, gids)) < 0) {
|
H A D | netnamer.c | 317 int maxgrp = sysconf(_SC_NGROUPS_MAX); local 318 gid_t *groups = alloca(maxgrp * sizeof (gid_t)); 352 ngroups = _getgroupsbymember(pw.pw_name, groups, maxgrp,
|
/illumos-gate/usr/src/cmd/print/lpset/ |
H A D | lpset.c | 58 int maxgrp; local 73 maxgrp = getgroups(0, NULL); 74 list = alloca(maxgrp * sizeof (gid_t)); 76 if ((len = getgroups(maxgrp, list)) != -1)
|
/illumos-gate/usr/src/cmd/smserverd/ |
H A D | myaudit.c | 218 int maxgrp = getgroups(0, NULL); local 219 gid_t *grplst = alloca(maxgrp * sizeof (gid_t)); 221 if ((ng = getgroups(maxgrp, grplst))) {
|
/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | rcmd.c | 567 int maxgrp = getgroups(0, NULL); local 568 gid_t *grouplist = alloca(maxgrp * sizeof (gid_t)); 608 if ((ngroups = getgroups(maxgrp, grouplist)) == -1)
|
Completed in 83 milliseconds