Lines Matching refs:gids
119 gid_t *gids[], in gsscred_expname_to_unix_cred_ext() argument
172 if (gids && gidsLen && gidOut) in gsscred_expname_to_unix_cred_ext()
174 gidOut, gids, gidsLen)); in gsscred_expname_to_unix_cred_ext()
187 gids, gidsLen); in gsscred_expname_to_unix_cred_ext()
217 gid_t *gids[], in gsscred_expname_to_unix_cred() argument
220 return (gsscred_expname_to_unix_cred_ext(expName, uidOut, gidOut, gids, in gsscred_expname_to_unix_cred()
232 private_gsscred_expname_to_unix_cred(expName, uidOut, gidOut, gids, gidsLen) in private_gsscred_expname_to_unix_cred() argument
236 gid_t *gids[];
248 if (gids && gidsLen && gidOut)
249 return (gss_get_group_info(*uidOut, gidOut, gids, gidsLen));
315 gid_t *gids[], in gsscred_name_to_unix_cred_ext() argument
351 if (gids && gidsLen && gidOut) in gsscred_name_to_unix_cred_ext()
352 return (gss_get_group_info(*uidOut, gidOut, gids, in gsscred_name_to_unix_cred_ext()
370 gids, gidsLen); in gsscred_name_to_unix_cred_ext()
420 gid_t *gids[], in gsscred_name_to_unix_cred() argument
424 uidOut, gidOut, gids, gidsLen, 1)); in gsscred_name_to_unix_cred()
436 gss_get_group_info(uid, gidOut, gids, gidsLen) in gss_get_group_info() argument
439 gid_t *gids[];
446 if (gidOut == NULL || gids == NULL || gidsLen == NULL)
449 *gids = NULL;
465 *gids = (gid_t *)calloc(maxgroups, sizeof (gid_t));
466 if (*gids == NULL)
470 (*gids)[0] = pw->pw_gid;
471 *gidsLen = _getgroupsbymember(pw->pw_name, *gids, maxgroups, 1);
478 free(*gids);
479 *gids = NULL;
482 free(*gids);
483 *gids = NULL;
488 (*gids)[0] = (*gids)[*gidsLen];