Searched refs:gidlist (Results 1 - 4 of 4) sorted by relevance

/macosx-10.10.1/shell_cmds-179/chroot/
H A Dchroot.c76 gid_t gid = 0, gidlist[NGROUPS_MAX]; local
122 gidlist[gids] = (gid_t)strtol(grouplist, &endp, 0);
128 gidlist[gids] = gp->gr_gid;
153 if (gids && setgroups(gids, gidlist) < 0)
/macosx-10.10.1/rsync-45/rsync/
H A Duidlist.c48 static struct idlist *gidlist; variable in typeref:struct:idlist
181 node = add_to_list(&gidlist, id, name, id2);
226 for (list = gidlist; list; list = list->next) {
259 for (list = gidlist; list; list = list->next) {
264 add_to_list(&gidlist, (int)gid, gid_to_name(gid), 0);
295 for (list = gidlist; list; list = list->next) {
/macosx-10.10.1/adv_cmds-158/ps/
H A Dps.c203 struct listinfo gidlist, pgrplist, pidlist; local
254 init_list(&gidlist, addelem_gid, sizeof(gid_t), "group");
324 add_list(&gidlist, optarg);
540 if (gidlist.count == 1) {
543 flag = *gidlist.l.gids;
657 if (gidlist.count > 0) {
658 for (elem = 0; elem < gidlist.count; elem++)
659 if (kp->kp_eproc.e_pcred.p_rgid == gidlist.l.gids[elem])
770 free_list(&gidlist);
/macosx-10.10.1/Libinfo-459/lookup.subproj/
H A Dfile_module.c994 gid_t *gidlist; local
999 gidlist = NULL;
1061 gidlist = (gid_t *) reallocf(gidlist, (gidcount + 1) * sizeof(gid_t));
1062 if (gidlist == NULL)
1068 gidlist[gidcount++] = gid;
1076 gidcount * sizeof(gid_t), gidlist);
1079 free(gidlist);

Completed in 88 milliseconds