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

/illumos-gate/usr/src/lib/nsswitch/nis/common/
H A Dgetgrent.c186 * Add gid to gid_array if it's not already there. gid_array must have room
190 add_gid(gid_t gid_array[], int numgids, gid_t gid) argument
195 if (gid_array[i] == gid) {
199 gid_array[numgids++] = gid;
205 * netid lookup, add the gids to the gid_array. The string may contain extra
206 * whitesapce. On parse error, the valid portion of the gid_array is not
210 parse_netid(const char *buf, gid_t gid_array[], int maxgids, int *numgids_ptr) argument
240 numgids = add_gid(gid_array, numgids, gid);
253 * Perform a lookup in the netid map. Fill in the gid_array i
[all...]
/illumos-gate/usr/src/lib/nsswitch/compat/common/
H A Dgetgrent.c167 gid_t *gid_array = argp->gid_array; local
179 /* full gid_array; nobody should have bothered to call us */
203 if (gid == gid_array[i]) {
208 gid_array[numgids++] = gid;
211 /* filled the gid_array */
225 return (NSS_NOTFOUND); /* Really means "gid_array not full yet" */
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetgrnam_r.c216 * _getgroupsbymember(uname, gid_array, maxgids, numgids):
222 * gid_array Space in which to return the gids. The first [numgids]
224 * maxgids Maximum number of elements in gid_array.
228 * number of valid gids in gid_array (may be zero)
242 _getgroupsbymember(const char *username, gid_t gid_array[], argument
249 arg.gid_array = gid_array;
450 gid_t *gidp = gbm->gid_array;
H A Dnss_dbdefs.c619 *uptr++ = (nssuint_t)gbm->gid_array[0];
993 gbm->gid_array = (gid_t *)
1000 gbm->gid_array[0] = (gid_t)(*uptr++);
H A Dnss_common.c1746 *gidp = gbm->gid_array[0];
1893 gidp = arg->gid_array;
/illumos-gate/usr/src/lib/nsswitch/ldap/common/
H A Dgetgrent.c278 * (gid_t)argp->gid_array; (int)argp->maxgids;
381 if (argp->gid_array[k]
387 argp->gid_array[argp->numgids++]
/illumos-gate/usr/src/head/
H A Dnss_dbdefs.h260 * matching entries that the gid_array is completely filled, in which
270 gid_t *gid_array; member in struct:nss_groupsbymem

Completed in 117 milliseconds