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

1234

/freebsd-11.0-release/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.0-release/usr.bin/mail/
H A Dglob.h68 struct grouphead *groups[HSHSIZE];/* Pointer to active groups */ variable in typeref:struct:grouphead
H A Dvars.c142 for (gh = groups[hash(name)]; gh != NULL; gh = gh->g_link)
/freebsd-11.0-release/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.0-release/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.0-release/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.0-release/usr.sbin/nscd/
H A Dcacheplcs.h95 struct cache_lfu_policy_group_ groups[CACHELIB_MAX_FREQUENCY]; member in struct:cache_lfu_policy_
/freebsd-11.0-release/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.0-release/sys/compat/linuxkpi/common/include/linux/
H A Ddevice.h75 const struct attribute_group **groups; member in struct:device
243 dev_t devt, void *drvdata, const struct attribute_group **groups,
262 dev->groups = groups;
285 const struct attribute_group **groups, const char *fmt, ...)
292 groups, fmt, vargs);
242 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
283 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.0-release/contrib/libstdc++/scripts/
H A Dmake_graphs.py88 build = settings_m.groups()[0]
97 label = res_m.groups()[0]
/freebsd-11.0-release/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.0-release/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.0-release/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.0-release/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.0-release/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.0-release/contrib/libpcap/
H A Dpcap-netfilter-linux.c418 unsigned short groups[32]; local
440 "Maximum 32 netfilter groups! dev: %s",
454 groups[group_count++] = (unsigned short) group_id;
470 /* if no groups, add default: 0 */
472 groups[0] = 0;
524 /* Bind socket to the nflog groups */
526 if (nflog_send_config_cmd(handle, groups[i], NFULNL_CFG_CMD_BIND, AF_UNSPEC) < 0) {
531 if (nflog_send_config_mode(handle, groups[i], NFULNL_COPY_PACKET, handle->snapshot) < 0) {
548 /* Bind socket to the nfqueue groups */
550 if (nfqueue_send_config_cmd(handle, groups[
[all...]
/freebsd-11.0-release/sys/kern/
H A Dkern_prot.c92 gid_t *groups);
278 * Get effective group ID. The "egid" is groups[0], and could be obtained
808 gid_t *groups; local
817 groups = malloc(gidsetsize * sizeof(gid_t), M_TEMP, M_WAITOK);
819 groups = smallgroups;
821 error = copyin(uap->gidset, groups, gidsetsize * sizeof(gid_t));
823 error = kern_setgroups(td, gidsetsize, groups);
826 free(groups, M_TEMP);
831 kern_setgroups(struct thread *td, u_int ngrp, gid_t *groups) argument
838 AUDIT_ARG_GROUPSET(groups, ngr
1979 int groups; local
2043 crsetgroups_locked(struct ucred *cr, int ngrp, gid_t *groups) argument
2075 crsetgroups(struct ucred *cr, int ngrp, gid_t *groups) argument
[all...]
/freebsd-11.0-release/contrib/wpa/wpa_supplicant/
H A Dsme.c58 int *groups = wpa_s->conf->sae_groups; local
61 if (!groups || groups[0] <= 0)
62 groups = default_groups;
65 if (!index_within_array(groups, wpa_s->sme.sae_group_index))
69 int group = groups[wpa_s->sme.sae_group_index];
659 int *groups; local
671 groups = wpa_s->conf->sae_groups;
672 if (!groups || groups[
[all...]
/freebsd-11.0-release/contrib/ofed/management/opensm/opensm/
H A Dosm_qos_parser_l.l128 PORT_GROUPS_START port\-groups
129 PORT_GROUPS_END end\-port\-groups
/freebsd-11.0-release/libexec/revnetgroup/
H A Drevnetgroup.c165 tmp = mcur->groups;
/freebsd-11.0-release/usr.sbin/pw/
H A Dpw_user.c637 /* Userids and groups can not have a leading '-'. */
658 * A `$' is allowed as the final character for userids and groups,
1080 split_groups(StringList **groups, char *groupsstr) argument
1088 if (*groups == NULL)
1089 *groups = sl_init();
1090 sl_add(*groups, newstr(grp->gr_name));
1151 if (cmdcnf->groups == NULL)
1152 cmdcnf->groups = cfg->groups;
1237 split_groups(&cmdcnf->groups, optar
1486 StringList *groups = NULL; local
[all...]
H A Dpwupd.h75 StringList *groups; /* Default (additional) groups */ member in struct:userconf
/freebsd-11.0-release/lib/libcasper/services/cap_grp/
H A Dcap_grp.c413 nvlist_t *limits, *groups; local
423 if (nvlist_exists_nvlist(limits, "groups"))
424 nvlist_free_nvlist(limits, "groups");
426 groups = nvlist_create(0);
430 nvlist_add_number(groups, nvlname, (uint64_t)gids[i]);
435 nvlist_add_string(groups, nvlname, names[i]);
437 nvlist_move_nvlist(limits, "groups", groups);
491 * If no limit was set on allowed groups, then all groups ar
[all...]

Completed in 243 milliseconds

1234