Home
last modified time | relevance | path

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

12

/freebsd/libexec/mknetid/
H A Dhash.c109 struct grouplist *lookup(struct member_entry *table[], char *key) in lookup()
124 struct grouplist dummy = { 99999, NULL };
132 struct grouplist *tmp; in mstore()
139 tmp = (struct grouplist *)malloc(sizeof(struct grouplist)); in mstore()
160 new->groups = (struct grouplist *)&dummy; in mstore()
H A Dhash.h36 struct grouplist { struct
38 struct grouplist *next; argument
44 struct grouplist *groups;
53 extern struct grouplist *lookup(struct member_entry **, char *);
H A Dmknetid.c104 struct grouplist *glist; in main()
/freebsd/usr.sbin/chroot/
H A Dchroot.c97 char *grouplist; in main() local
107 user = group = grouplist = NULL; in main()
123 grouplist = optarg; in main()
129 if (*grouplist == '\0') in main()
149 if (grouplist != NULL) { in main()
153 for (gids = 0; (p = strsep(&grouplist, ",")) != NULL && in main()
/freebsd/usr.bin/showmount/
H A Dshowmount.c70 struct grouplist { struct
71 struct grouplist *gr_next; argument
77 struct grouplist *ex_groups; argument
112 register struct grouplist *grp; in main()
346 register struct grouplist *gp; in xdr_exportslist()
357 ep->ex_groups = (struct grouplist *)0; in xdr_exportslist()
364 gp = (struct grouplist *)malloc(sizeof(struct grouplist)); in xdr_exportslist()
/freebsd/libexec/revnetgroup/
H A Dhash.h36 struct grouplist { struct
38 struct grouplist *next; argument
45 struct grouplist *groups;
H A Dhash.c176 struct grouplist *tmp; in mstore()
182 tmp = (struct grouplist *)malloc(sizeof(struct grouplist)); in mstore()
H A Drevnetgroup.c160 struct grouplist *tmp; in main()
/freebsd/usr.bin/wall/
H A Dwall.c66 } *grouplist; variable
107 g->next = grouplist; in main()
110 grouplist = g; in main()
121 for (g = grouplist; g; g = g->next) { in main()
139 if (grouplist) { in main()
144 for (g = grouplist; g && ingroup == 0; g = g->next) { in main()
/freebsd/lib/libpam/modules/pam_login_access/
H A Dlogin_access.c180 gid_t *grouplist; in group_match() local
193 if ((grouplist = calloc(ngroups, sizeof(gid_t))) == NULL) { in group_match()
198 if (getgrouplist(username, passwd->pw_gid, grouplist, &ngroups) != 0) in group_match()
201 if (grouplist[i] == group->gr_gid) in group_match()
203 free(grouplist); in group_match()
/freebsd/usr.sbin/mountd/
H A Dmountd.c119 struct grouplist *ex_grphead;
153 struct grouplist { struct
156 struct grouplist *gr_next; argument
175 struct grouplist *ht_grp; argument
198 struct grouplist *, int, struct exportlist *,
215 static int do_mount(struct exportlist *, struct grouplist *, uint64_t,
218 struct grouplist *, int *, uint64_t *, struct expcred *,
224 static void free_grp(struct grouplist *);
234 static int compare_addr(struct grouplist *, struct grouplist *);
238 static int get_host(char *, struct grouplist *, struct grouplist *);
[all …]
/freebsd/sbin/ipf/ippool/
H A Dippool_y.y87 %type <ipe> groupentry setgrouplist grouplist
205 setgroup hashopts start grouplist end
260 grouplist:
262 | groupentry next grouplist { $$ = $1; $1->ipe_next = $3; }
263 | addrmask next grouplist { $$ = calloc(1, sizeof(iphtent_t));
/freebsd/contrib/llvm-project/compiler-rt/include/sanitizer/
H A Dlinux_syscall_hooks.h99 #define __sanitizer_syscall_pre_getgroups(gidsetsize, grouplist) \ argument
100 __sanitizer_syscall_pre_impl_getgroups((long)(gidsetsize), (long)(grouplist))
101 #define __sanitizer_syscall_post_getgroups(res, gidsetsize, grouplist) \ argument
103 (long)(grouplist))
147 #define __sanitizer_syscall_pre_setgroups(gidsetsize, grouplist) \ argument
148 __sanitizer_syscall_pre_impl_setgroups((long)(gidsetsize), (long)(grouplist))
149 #define __sanitizer_syscall_post_setgroups(res, gidsetsize, grouplist) \ argument
151 (long)(grouplist))
901 #define __sanitizer_syscall_pre_getgroups16(gidsetsize, grouplist) \ argument
903 (long)(grouplist))
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_syscalls.inc362 PRE_SYSCALL(getgroups)(long gidsetsize, void *grouplist) {}
365 (long res, long gidsetsize, __sanitizer___kernel_gid_t *grouplist) {
367 if (grouplist)
368 POST_WRITE(grouplist, res * sizeof(*grouplist));
412 PRE_SYSCALL(setgroups)(long gidsetsize, __sanitizer___kernel_gid_t *grouplist) {
413 if (grouplist)
414 POST_WRITE(grouplist, gidsetsize * sizeof(*grouplist));
418 (long res, long gidsetsize, __sanitizer___kernel_gid_t *grouplist) {}
1647 (long gidsetsize, __sanitizer___kernel_old_gid_t *grouplist) {}
1650 (long res, long gidsetsize, __sanitizer___kernel_old_gid_t *grouplist) {
[all …]
/freebsd/tools/sched/
H A Dschedgraph.py516 grouplist = []
519 grouplist.append(source)
520 graph.sourcehidelist(grouplist)
/freebsd/sys/compat/linux/
H A Dlinux_misc.c1065 error = copyin(args->grouplist, linux_gidset, ngrp * sizeof(l_gid_t)); in linux_setgroups()
1118 error = copyout(linux_gidset, args->grouplist, ngrp * sizeof(l_gid_t)); in linux_getgroups()
/freebsd/contrib/sendmail/src/
H A Dconf.c2969 setgroups(ngroups, grouplist) in setgroups() argument
2971 GIDSET_T grouplist[];
/freebsd/sys/arm64/linux/
H A Dlinux_systrace_args.c1264 uarg[a++] = (intptr_t)p->grouplist; /* l_gid_t * */ in systrace_args()
1272 uarg[a++] = (intptr_t)p->grouplist; /* l_gid_t * */ in systrace_args()
H A Dlinux_proto.h624 char grouplist_l_[PADL_(l_gid_t *)]; l_gid_t * grouplist; char grouplist_r_[PADR_(l_gid_t *)]; member
628 char grouplist_l_[PADL_(l_gid_t *)]; l_gid_t * grouplist; char grouplist_r_[PADR_(l_gid_t *)]; member
/freebsd/sys/amd64/linux/
H A Dlinux_systrace_args.c968 uarg[a++] = (intptr_t)p->grouplist; /* l_gid_t * */ in systrace_args()
976 uarg[a++] = (intptr_t)p->grouplist; /* l_gid_t * */ in systrace_args()
H A Dlinux_proto.h459 char grouplist_l_[PADL_(l_gid_t *)]; l_gid_t * grouplist; char grouplist_r_[PADR_(l_gid_t *)]; member
463 char grouplist_l_[PADL_(l_gid_t *)]; l_gid_t * grouplist; char grouplist_r_[PADR_(l_gid_t *)]; member
/freebsd/sys/amd64/linux32/
H A Dlinux32_systrace_args.c1421 uarg[a++] = (intptr_t)p->grouplist; /* l_gid_t * */ in systrace_args()
1429 uarg[a++] = (intptr_t)p->grouplist; /* l_gid_t * */ in systrace_args()
H A Dlinux32_proto.h672 char grouplist_l_[PADL_(l_gid_t *)]; l_gid_t * grouplist; char grouplist_r_[PADR_(l_gid_t *)]; member
676 char grouplist_l_[PADL_(l_gid_t *)]; l_gid_t * grouplist; char grouplist_r_[PADR_(l_gid_t *)]; member
/freebsd/sys/i386/linux/
H A Dlinux_systrace_args.c1452 uarg[a++] = (intptr_t)p->grouplist; /* l_gid_t * */ in systrace_args()
1460 uarg[a++] = (intptr_t)p->grouplist; /* l_gid_t * */ in systrace_args()
H A Dlinux_proto.h670 char grouplist_l_[PADL_(l_gid_t *)]; l_gid_t * grouplist; char grouplist_r_[PADR_(l_gid_t *)]; member
674 char grouplist_l_[PADL_(l_gid_t *)]; l_gid_t * grouplist; char grouplist_r_[PADR_(l_gid_t *)]; member

12