Searched refs:grouplist (Results 1 - 23 of 23) sorted by relevance

/freebsd-11-stable/libexec/mknetid/
H A Dhash.h36 struct grouplist { struct
38 struct grouplist *next;
44 struct grouplist *groups;
53 extern struct grouplist *lookup(struct member_entry **, char *);
H A Dhash.c112 struct grouplist *lookup(struct member_entry *table[], char *key)
127 struct grouplist dummy = { 99999, NULL };
130 * Store a group member entry and/or update its grouplist.
135 struct grouplist *tmp;
142 tmp = (struct grouplist *)malloc(sizeof(struct grouplist));
163 new->groups = (struct grouplist *)&dummy;
H A Dmknetid.c107 struct grouplist *glist;
/freebsd-11-stable/libexec/revnetgroup/
H A Dhash.h36 struct grouplist { struct
38 struct grouplist *next;
45 struct grouplist *groups;
H A Dhash.c164 * Store a group member entry and/or update its grouplist. This is
171 * the member's grouplist list. If we're handed a name that already has
173 * to update its grouplist.
179 struct grouplist *tmp;
185 tmp = (struct grouplist *)malloc(sizeof(struct grouplist));
H A Drevnetgroup.c163 struct grouplist *tmp;
/freebsd-11-stable/usr.sbin/chroot/
H A Dchroot.c64 char *endp, *p, *user, *group, *grouplist; local
73 user = group = grouplist = NULL;
87 grouplist = optarg;
88 if (*grouplist == '\0')
120 (p = strsep(&grouplist, ",")) != NULL && gids < ngroups_max; ) {
/freebsd-11-stable/usr.bin/showmount/
H A Dshowmount.c81 struct grouplist { struct
82 struct grouplist *gr_next;
88 struct grouplist *ex_groups;
115 register struct grouplist *grp;
345 register struct grouplist *gp;
356 ep->ex_groups = (struct grouplist *)0;
363 gp = (struct grouplist *)malloc(sizeof(struct grouplist));
/freebsd-11-stable/usr.bin/wall/
H A Dwall.c77 } *grouplist; variable in typeref:struct:wallgroup
119 g->next = grouplist;
122 grouplist = g;
133 for (g = grouplist; g; g = g->next) {
151 if (grouplist) {
156 for (g = grouplist; g && ingroup == 0; g = g->next) {
/freebsd-11-stable/lib/libpam/modules/pam_login_access/
H A Dlogin_access.c183 gid_t *grouplist; local
196 if ((grouplist = calloc(ngroups, sizeof(gid_t))) == NULL) {
197 syslog(LOG_ERR, "cannot allocate memory for grouplist: %s", username);
201 if (getgrouplist(username, passwd->pw_gid, grouplist, &ngroups) != 0)
204 if (grouplist[i] == group->gr_gid)
206 free(grouplist);
/freebsd-11-stable/usr.sbin/mountd/
H A Dmountd.c116 struct grouplist *ex_grphead;
149 struct grouplist { struct
152 struct grouplist *gr_next;
171 struct grouplist *ht_grp;
194 struct grouplist *, int, struct exportlist *,
209 static int do_mount(struct exportlist *, struct grouplist *, int,
212 struct grouplist *, int *, int *, struct xucred *);
217 static void free_grp(struct grouplist *);
230 static int get_host(char *, struct grouplist *, struct grouplist *);
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_syscalls.inc327 PRE_SYSCALL(getgroups)(long gidsetsize, void *grouplist) {}
330 __sanitizer___kernel_gid_t *grouplist) {
332 if (grouplist) POST_WRITE(grouplist, res * sizeof(*grouplist));
376 PRE_SYSCALL(setgroups)(long gidsetsize, __sanitizer___kernel_gid_t *grouplist) {
377 if (grouplist) POST_WRITE(grouplist, gidsetsize * sizeof(*grouplist));
381 __sanitizer___kernel_gid_t *grouplist) {}
[all...]
/freebsd-11-stable/contrib/ipfilter/tools/
H A Dippool_y.y88 %type <ipe> groupentry setgrouplist grouplist
206 setgroup hashopts start grouplist end
261 grouplist: label
263 | groupentry next grouplist { $$ = $1; $1->ipe_next = $3; }
264 | addrmask next grouplist { $$ = calloc(1, sizeof(iphtent_t));
/freebsd-11-stable/contrib/llvm-project/compiler-rt/include/sanitizer/
H A Dlinux_syscall_hooks.h99 #define __sanitizer_syscall_pre_getgroups(gidsetsize, grouplist) \
100 __sanitizer_syscall_pre_impl_getgroups((long)(gidsetsize), (long)(grouplist))
101 #define __sanitizer_syscall_post_getgroups(res, gidsetsize, grouplist) \
103 (long)(grouplist))
147 #define __sanitizer_syscall_pre_setgroups(gidsetsize, grouplist) \
148 __sanitizer_syscall_pre_impl_setgroups((long)(gidsetsize), (long)(grouplist))
149 #define __sanitizer_syscall_post_setgroups(res, gidsetsize, grouplist) \
151 (long)(grouplist))
901 #define __sanitizer_syscall_pre_getgroups16(gidsetsize, grouplist) \
903 (long)(grouplist))
[all...]
/freebsd-11-stable/tools/sched/
H A Dschedgraph.py517 grouplist = []
520 grouplist.append(source)
521 graph.sourcehidelist(grouplist)
/freebsd-11-stable/sys/compat/linux/
H A Dlinux_misc.c1325 error = copyin(args->grouplist, linux_gidset, ngrp * sizeof(l_gid_t));
1403 error = copyout(linux_gidset, args->grouplist, ngrp * sizeof(l_gid_t));
/freebsd-11-stable/sys/amd64/linux/
H A Dlinux_systrace_args.c968 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */
976 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */
H A Dlinux_proto.h445 char grouplist_l_[PADL_(l_gid_t *)]; l_gid_t * grouplist; char grouplist_r_[PADR_(l_gid_t *)]; member in struct:linux_getgroups_args
449 char grouplist_l_[PADL_(l_gid_t *)]; l_gid_t * grouplist; char grouplist_r_[PADR_(l_gid_t *)]; member in struct:linux_setgroups_args
/freebsd-11-stable/sys/amd64/linux32/
H A Dlinux32_systrace_args.c1412 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */
1420 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */
H A Dlinux32_proto.h656 char grouplist_l_[PADL_(l_gid_t *)]; l_gid_t * grouplist; char grouplist_r_[PADR_(l_gid_t *)]; member in struct:linux_getgroups_args
660 char grouplist_l_[PADL_(l_gid_t *)]; l_gid_t * grouplist; char grouplist_r_[PADR_(l_gid_t *)]; member in struct:linux_setgroups_args
/freebsd-11-stable/sys/i386/linux/
H A Dlinux_systrace_args.c1455 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */
1463 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */
H A Dlinux_proto.h657 char grouplist_l_[PADL_(l_gid_t *)]; l_gid_t * grouplist; char grouplist_r_[PADR_(l_gid_t *)]; member in struct:linux_getgroups_args
661 char grouplist_l_[PADL_(l_gid_t *)]; l_gid_t * grouplist; char grouplist_r_[PADR_(l_gid_t *)]; member in struct:linux_setgroups_args
/freebsd-11-stable/contrib/sendmail/src/
H A Dconf.c2966 setgroups(ngroups, grouplist)
2968 GIDSET_T grouplist[];

Completed in 489 milliseconds