grouplist
static int getusergroups(gidsetsize, grouplist, user, prgid)
gid_t *grouplist;
grouplist[ngroups] = group->gr_gid;
grouplist[ngroups++] = prgid;
setgroup hashopts start grouplist end
grouplist:
| groupentry next grouplist { $$ = $1; $1->ipe_next = $3; }
| addrmask next grouplist { $$ = calloc(1, sizeof(iphtent_t));
%type <ipe> groupentry setgrouplist grouplist
char *grouplist = strdup(s);
int grp_count = count_tokens(grouplist, ',');
char *g = strsep(&grouplist, ",");
free(grouplist);
g = strsep(&grouplist, ",");
free(grouplist);
setgroups(ngroups, grouplist)
GIDSET_T grouplist[];
struct grouplist *gpls;
gpls = MALLOC(struct grouplist);
gpls->gl_nxt = grouplist;
grouplist = gpls;
static struct grouplist *grouplist; /* stores a list of users in a group */
struct grouplist *gl;
for (gl = grouplist; gl != NULL; gl = gl->gl_nxt) {
grouplist = NULL;
struct grouplist *
return (grouplist);
struct grouplist *gl_nxt;
struct grouplist *my_getgroup();
storegroup(char *group, struct grouplist *glist, int byuser)
static void storegroup(char *group, struct grouplist *glist, int byuser);
struct grouplist *glist;
gid_t *grouplist = alloca(maxgrp * sizeof (gid_t));
if ((group_count = getgroups(maxgrp, grouplist)) > 0) {
au_to_newgroups(group_count, grouplist));
grouplist = calloc(ngroups_max, sizeof (gid_t));
if (grouplist == NULL)
grpptr = grouplist;
free(grouplist);
gid_t *grouplist = NULL;
IPMP_LIST_SIZE(grouplist, LIFGRNAMSIZ, ngr)
gid_t *grouplist = alloca(maxgrp * sizeof (gid_t));
if ((ngroups = getgroups(maxgrp, grouplist)) == -1)
setgroups(ngroups, grouplist);
setgroups(ngroups, grouplist);
setgroups(ngroups, grouplist);
setgroups(ngroups, grouplist);
LEXTERN int m_setgroups (int gidsetsize, gid_t grouplist[]);
struct grouplist *all_members;
struct grouplist *next_member;
struct grouplist *gl_nxt;
struct grouplist *mem;
struct grouplist *gl;
struct grouplist *next;
struct grouplist **headp = headp_arg;
struct grouplist *gl;
struct grouplist *mem;
struct grouplist *gl;
struct grouplist *next;
struct grouplist **headp = headp_arg;
struct grouplist *gl;
if ((gl = (struct grouplist *)malloc(sizeof (*gl))) == 0) {
struct grouplist *all_members;
struct grouplist *next_member;
struct grouplist *gl_nxt;