Home
last modified time | relevance | path

Searched refs:grouplist (Results 1 – 15 of 15) sorted by relevance

/illumos-gate/usr/src/cmd/ypcmd/revnetgroup/
H A Dgetgroup.c59 static struct grouplist *grouplist; /* stores a list of users in a group */ variable
72 struct grouplist *gl; in freegrouplist()
74 for (gl = grouplist; gl != NULL; gl = gl->gl_nxt) { in freegrouplist()
80 grouplist = NULL; in freegrouplist()
86 struct grouplist *
92 return (grouplist);
112 struct grouplist *gpls;
148 gpls = MALLOC(struct grouplist);
160 gpls->gl_nxt = grouplist;
161 grouplist = gpls;
H A Dgetgroup.h35 struct grouplist { struct
39 struct grouplist *gl_nxt; argument
42 struct grouplist *my_getgroup();
H A Drevnetgroup.c87 static void storegroup(char *group, struct grouplist *glist, int byuser);
98 struct grouplist *glist; in main()
180 storegroup(char *group, struct grouplist *glist, int byuser) in storegroup()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dinitgroups.c92 gid_t *grouplist = NULL; in getgrouplist() local
153 grouplist = calloc(ngroups_max, sizeof (gid_t)); in getgrouplist()
154 if (grouplist == NULL) in getgrouplist()
157 grpptr = grouplist; in getgrouplist()
207 free(grouplist); in getgrouplist()
/illumos-gate/usr/src/lib/nsswitch/nis/common/
H A Dgetnetgrent.c70 struct grouplist *all_members;
71 struct grouplist *next_member;
74 struct grouplist { /* One element of the list generated by a setnetgrent() */ struct
76 struct grouplist *gl_nxt; argument
101 struct grouplist *mem;
140 struct grouplist *gl;
141 struct grouplist *next;
516 struct grouplist **headp = headp_arg; in save_triple()
517 struct grouplist *gl; in save_triple()
520 if ((gl = (struct grouplist *)malloc(sizeof (*gl))) == 0) { in save_triple()
/illumos-gate/usr/src/lib/nsswitch/files/common/
H A Dgetnetgrent.c255 struct grouplist *all_members;
256 struct grouplist *next_member;
259 struct grouplist { /* One element of the list generated by a setnetgrent() */ struct
261 struct grouplist *gl_nxt; argument
282 struct grouplist *mem; in getnetgr_get()
318 struct grouplist *gl; in getnetgr_end()
319 struct grouplist *next; in getnetgr_end()
666 struct grouplist **headp = headp_arg; in save_triple()
667 struct grouplist *gl; in save_triple()
/illumos-gate/usr/src/cmd/id/
H A Did.c378 static int getusergroups(gidsetsize, grouplist, user, prgid) in getusergroups() argument
380 gid_t *grouplist;
393 grouplist[ngroups] = group->gr_gid;
398 grouplist[ngroups++] = prgid;
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dippool_y.y84 %type <ipe> groupentry setgrouplist grouplist
175 setgroup hashopts start grouplist end
219 grouplist:
221 | groupentry next grouplist { $$ = $1; $1->ipe_next = $3; }
222 | addrmask next grouplist { $$ = calloc(1, sizeof(iphtent_t));
/illumos-gate/usr/src/lib/libsocket/inet/
H A Drcmd.c568 gid_t *grouplist = alloca(maxgrp * sizeof (gid_t)); in ruserok() local
608 if ((ngroups = getgroups(maxgrp, grouplist)) == -1) in ruserok()
619 setgroups(ngroups, grouplist); in ruserok()
629 setgroups(ngroups, grouplist); in ruserok()
639 setgroups(ngroups, grouplist); in ruserok()
648 setgroups(ngroups, grouplist); in ruserok()
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Project/
H A DProject.pm479 my @grouplist;
486 @grouplist = split(/$pattern/, $groups);
489 if (!(@grouplist)) {
490 return (0, \@grouplist);
494 foreach $group (@grouplist) {
513 return (0, \@grouplist);
/illumos-gate/usr/src/lib/libipmp/common/
H A Dipmp_query.h94 IPMP_LIST_SIZE(grouplist, LIFGRNAMSIZ, ngr)
/illumos-gate/usr/src/lib/libbsm/common/
H A Dadt_token.c604 gid_t *grouplist = alloca(maxgrp * sizeof (gid_t)); in adt_to_subject() local
606 if ((group_count = getgroups(maxgrp, grouplist)) > 0) { in adt_to_subject()
608 au_to_newgroups(group_count, grouplist)); in adt_to_subject()
/illumos-gate/usr/src/lib/libxcurses/h/
H A Dmks.h361 LEXTERN int m_setgroups (int gidsetsize, gid_t grouplist[]);
/illumos-gate/usr/src/cmd/ldap/ns_ldap/
H A Dldapaddent.c3747 char *grouplist = strdup(s); in genent_project() local
3749 int grp_count = count_tokens(grouplist, ','); in genent_project()
3750 char *g = strsep(&grouplist, ","); in genent_project()
3753 free(grouplist); in genent_project()
3763 g = strsep(&grouplist, ","); in genent_project()
3766 free(grouplist); in genent_project()
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dconf.c2893 setgroups(ngroups, grouplist) in setgroups() argument
2895 GIDSET_T grouplist[];