Searched defs:ngroups (Results 1 - 10 of 10) sorted by relevance
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | initgroups.c | 50 int ngroups; local 70 ngroups = _getgroupsbymember(uname, groups, (int)ngroups_max, 72 if (ngroups < 0) { 79 retsave = setgroups(ngroups, groups);
|
/osnet-11/usr/src/lib/libresolv2/common/irs/ |
H A D | util.c | 67 gid_t basegid, gid_t *groups, int *ngroups) 75 maxgroups = *ngroups; 105 *ngroups = ng; 66 make_group_list(struct irs_gr *this, const char *name, gid_t basegid, gid_t *groups, int *ngroups) argument
|
/osnet-11/usr/src/lib/libproc/common/ |
H A D | proc_get_info.c | 46 * 'ngroups' is the number of supplementary group entries allocated in 49 * credp = malloc(sizeof (prcred_t) + (ngroups - 1) * sizeof (gid_t)); 52 proc_get_cred(pid_t pid, prcred_t *credp, int ngroups) argument 58 size_t size = minsize + ngroups * sizeof (gid_t);
|
H A D | Pcore.c | 374 int ngroups; local 386 ngroups = (nbytes - min_size) / sizeof (gid_t); 387 nbytes = sizeof (prcred_t) + (ngroups - 1) * sizeof (gid_t); 398 if (pcrp->pr_ngroups > ngroups) { 400 pcrp->pr_ngroups, ngroups); 401 pcrp->pr_ngroups = ngroups;
|
H A D | Pcontrol.c | 1078 * Fill in a pointer to a process credentials structure. The ngroups parameter 1084 Pcred(struct ps_prochandle *P, prcred_t *pcrp, int ngroups) argument 1092 return (proc_get_cred(P->pid, pcrp, ngroups)); 1100 ngroups = MIN(ngroups, P->core->core_cred->pr_ngroups); 1103 sizeof (prcred_t) + (ngroups - 1) * sizeof (gid_t));
|
/osnet-11/usr/src/lib/libnsl/rpc/ |
H A D | netnamer.c | 312 int ngroups = 0; local 350 ngroups = _getgroupsbymember(pw.pw_name, groups, maxgrp, 353 if (ngroups < 0) { 358 *(argp->gidlenp) = ngroups; 360 for (count = 0; count < ngroups; count++) {
|
/osnet-11/usr/src/lib/libcmd/common/ |
H A D | id.c | 209 int ngroups = 0; local 237 ngroups = getgroups(maxgroups, groups); 238 for (i = j = 0; i < ngroups; i++) 243 ngroups = j; 286 if (ngroups == 1 && groups[0] == group) 287 ngroups = 0; 335 if (ngroups > 0) 339 for (i = 0; i < ngroups; i++) 393 else if (ngroups > 0) 401 if (++i >= ngroups) brea [all...] |
/osnet-11/usr/src/lib/libsocket/inet/ |
H A D | rcmd.c | 572 int ngroups; local 611 if ((ngroups = getgroups(maxgrp, grouplist)) == -1) 622 (void) setgroups(ngroups, grouplist); 632 (void) setgroups(ngroups, grouplist); 642 (void) setgroups(ngroups, grouplist); 651 (void) setgroups(ngroups, grouplist);
|
/osnet-11/usr/src/lib/librestart/common/ |
H A D | librestart.h | 277 int ngroups; /* -1 means use initgroups(). */ member in struct:method_context
|
/osnet-11/usr/src/lib/nsswitch/nis/common/ |
H A D | getnetgrent.c | 336 top_down(struct nis_netgr_be *be, const char **groups, int ngroups, argument 354 while (ngroups > 0) { 357 ngroups--;
|
Completed in 79 milliseconds