Searched refs:groups (Results 26 - 50 of 105) sorted by relevance

12345

/freebsd-11-stable/libexec/revnetgroup/
H A Dhash.c167 * structure also has a linked list of groups hung off it. If handed
192 tmp->next = cur->groups;
193 cur->groups = tmp;
203 new->groups = tmp;
H A Drevnetgroup.c165 tmp = mcur->groups;
/freebsd-11-stable/contrib/openpam/lib/libpam/
H A Dopenpam_restore_cred.c77 setgroups(scred->ngroups, scred->groups) < 0 ||
H A Dopenpam_borrow_cred.c86 r = getgroups(NGROUPS_MAX, scred->groups);
/freebsd-11-stable/usr.bin/mail/
H A Dglob.h68 extern struct grouphead *groups[HSHSIZE];/* Pointer to active groups */
H A Dvars.c142 for (gh = groups[hash(name)]; gh != NULL; gh = gh->g_link)
/freebsd-11-stable/usr.sbin/chown/
H A Dchown.c278 gid_t *groups; local
291 if ((groups = malloc(sizeof(gid_t) * ngroups_max)) == NULL)
293 ngroups = getgroups(ngroups_max, groups);
294 while (--ngroups >= 0 && gid != groups[ngroups]);
295 free(groups);
/freebsd-11-stable/sys/kgssapi/
H A Dgss_pname_to_uid.c84 int *numgroups, gid_t *groups)
124 groups[i] = res.gidlist.gidlist_val[i];
82 gss_pname_to_unix_cred(OM_uint32 *minor_status, const gss_name_t pname, const gss_OID mech, uid_t *uidp, gid_t *gidp, int *numgroups, gid_t *groups) argument
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/
H A Ddevice.h114 const struct attribute_group **groups; member in struct:device
319 if (dev->groups)
320 return (sysfs_create_groups(&dev->kobj, dev->groups));
333 dev_t devt, void *drvdata, const struct attribute_group **groups,
351 dev->groups = groups;
375 const struct attribute_group **groups, const char *fmt, ...)
382 groups, fmt, vargs);
332 device_create_groups_vargs(struct class *class, struct device *parent, dev_t devt, void *drvdata, const struct attribute_group **groups, const char *fmt, va_list args) argument
373 device_create_with_groups(struct class *class, struct device *parent, dev_t devt, void *drvdata, const struct attribute_group **groups, const char *fmt, ...) argument
/freebsd-11-stable/usr.sbin/nscd/
H A Dcacheplcs.h95 struct cache_lfu_policy_group_ groups[CACHELIB_MAX_FREQUENCY]; member in struct:cache_lfu_policy_
/freebsd-11-stable/usr.sbin/lpr/lpc/
H A Dlpc.c356 static gid_t *groups; local
366 if ((groups = malloc(sizeof(gid_t) * ngroups_max)) == NULL)
368 ngroups = getgroups(ngroups_max, groups);
374 if (gid == groups[i])
/freebsd-11-stable/lib/libc/rpc/
H A Dsvc_auth_des.c447 int grouplen; /* length of cached groups */
448 gid_t groups[NGRPS]; /* cached groups */ member in struct:bsdcred
459 int *grouplen, gid_t *groups)
484 &i_grouplen, groups))
495 cred->groups[i] = groups[i]; /* int to short */
512 groups[i] = cred->groups[i]; /* short to int */
458 authdes_getucred(struct authdes_cred *adc, uid_t *uid, gid_t *gid, int *grouplen, gid_t *groups) argument
H A Dnetnamer.c148 _getgroups(char *uname, gid_t groups[NGRPS]) argument
163 "initgroups: %s is in too many groups\n", uname);
170 if (groups[j] == grp->gr_gid) {
175 groups[ngroups++] = grp->gr_gid;
/freebsd-11-stable/contrib/libstdc++/scripts/
H A Dmake_graphs.py88 build = settings_m.groups()[0]
97 label = res_m.groups()[0]
/freebsd-11-stable/sys/sys/
H A Ducred.h55 int cr_ngroups; /* number of groups */
67 gid_t *cr_groups; /* groups */
68 int cr_agroups; /* Available groups */
69 gid_t cr_smallgroups[XU_NGROUPS]; /* storage for small groups */
86 short cr_ngroups; /* number of groups */
87 gid_t cr_groups[XU_NGROUPS]; /* groups */
115 void crsetgroups(struct ucred *cr, int n, gid_t *groups);
/freebsd-11-stable/contrib/subversion/subversion/libsvn_repos/
H A Dauthz.h307 * representation of all the rules, groups and aliases.
315 svn_stream_t *groups,
/freebsd-11-stable/tools/tools/notescheck/
H A Dnotescheck.py223 groups = line.split('"')
225 # Ensure we have an even number of quotes. The 'groups' array
228 if len(groups) % 2 == 0:
232 # String split all the "odd" groups since they are not quoted strings.
235 for group in groups:
/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Dport-aix.c432 getgrouplist(const char *user, gid_t pgid, gid_t *groups, int *grpcnt) argument
451 groups[ngroups++] = pgid;
463 groups[ngroups++] = gid;
/freebsd-11-stable/contrib/ipfilter/tools/
H A Dipfcomp.c164 static frgroup_t *groups = NULL; variable
190 for (g = groups; g != NULL; g = g->fg_next)
197 g->fg_next = groups;
198 groups = g;
231 for (g = groups; g != NULL; g = g->fg_next)
237 g->fg_next = groups;
238 groups = g;
308 for (g = groups; g != NULL; g = g->fg_next) {
328 for (g = groups; g != NULL; g = g->fg_next) {
375 for (g = groups;
[all...]
/freebsd-11-stable/contrib/wpa/src/p2p/
H A Dp2p_group.c49 struct p2p_group *group, **groups; local
55 groups = os_realloc_array(p2p->groups, p2p->num_groups + 1,
57 if (groups == NULL) {
61 groups[p2p->num_groups++] = group;
62 p2p->groups = groups;
109 if (p2p->groups[g] == group) {
111 p2p->groups[g] = p2p->groups[
[all...]
/freebsd-11-stable/contrib/libpcap/
H A Dpcap-netfilter-linux.c492 unsigned short groups[32]; local
514 "Maximum 32 netfilter groups! dev: %s",
528 groups[group_count++] = (unsigned short) group_id;
544 /* if no groups, add default: 0 */
546 groups[0] = 0;
614 /* Bind socket to the nflog groups */
616 if (nflog_send_config_cmd(handle, groups[i], NFULNL_CFG_CMD_BIND, AF_UNSPEC) < 0) {
623 if (nflog_send_config_mode(handle, groups[i], NFULNL_COPY_PACKET, handle->snapshot) < 0) {
644 /* Bind socket to the nfqueue groups */
646 if (nfqueue_send_config_cmd(handle, groups[
[all...]
/freebsd-11-stable/sys/kern/
H A Dkern_prot.c93 gid_t *groups);
279 * Get effective group ID. The "egid" is groups[0], and could be obtained
814 gid_t *groups; local
823 groups = malloc(gidsetsize * sizeof(gid_t), M_TEMP, M_WAITOK);
825 groups = smallgroups;
827 error = copyin(uap->gidset, groups, gidsetsize * sizeof(gid_t));
829 error = kern_setgroups(td, gidsetsize, groups);
832 free(groups, M_TEMP);
837 kern_setgroups(struct thread *td, u_int ngrp, gid_t *groups) argument
844 AUDIT_ARG_GROUPSET(groups, ngr
1993 int groups; local
2057 crsetgroups_locked(struct ucred *cr, int ngrp, gid_t *groups) argument
2089 crsetgroups(struct ucred *cr, int ngrp, gid_t *groups) argument
[all...]
/freebsd-11-stable/tools/tools/netmap/
H A Dlb.c193 struct group_des *groups; variable in typeref:struct:group_des
416 groups = realloc(groups, size);
417 if (groups == NULL) {
422 g = &groups[glob_arg.num_groups];
460 /* complete the initialization of the groups data structure */
466 g = &groups[i];
474 struct group_des *h = &groups[j];
766 struct group_des *g = &groups[j];
880 /* if there are several groups, tr
[all...]
/freebsd-11-stable/contrib/ofed/opensm/opensm/
H A Dosm_qos_parser_l.l130 PORT_GROUPS_START port\-groups
131 PORT_GROUPS_END end\-port\-groups
/freebsd-11-stable/usr.sbin/pw/
H A Dpwupd.h77 StringList *groups; /* Default (additional) groups */ member in struct:userconf

Completed in 223 milliseconds

12345