/freebsd-current/contrib/xz/src/liblzma/common/ |
H A D | index.c | 72 /// Every Record group is part of index_stream.groups tree. 117 /// Record groups of this Stream are stored in a tree. 122 index_tree groups; member in struct:__anon52 212 /// The latter is used to free the Record groups from each index_stream 357 index_tree_init(&s->groups); 368 /// Free the memory allocated for a Stream and its Record groups. 373 index_tree_end(&s->groups, allocator, &lzma_free); 464 // Number of groups. There may actually be more, but that overhead 466 const lzma_vli groups local 471 const uint64_t groups_mem = groups * group_bas [all...] |
/freebsd-current/contrib/kyua/utils/process/ |
H A D | isolation.cpp | 159 ::gid_t groups[1]; local 160 groups[0] = user.gid; 161 if (::setgroups(1, groups) == -1)
|
/freebsd-current/libexec/revnetgroup/ |
H A D | hash.c | 164 * structure also has a linked list of groups hung off it. If handed 189 tmp->next = cur->groups; 190 cur->groups = tmp; 200 new->groups = tmp;
|
/freebsd-current/contrib/openpam/lib/libpam/ |
H A D | openpam_restore_cred.c | 75 setgroups(scred->ngroups, scred->groups) < 0 ||
|
H A D | openpam_borrow_cred.c | 84 r = getgroups(NGROUPS_MAX, scred->groups);
|
/freebsd-current/usr.bin/mail/ |
H A D | glob.h | 66 extern struct grouphead *groups[HSHSIZE];/* Pointer to active groups */
|
H A D | vars.c | 136 for (gh = groups[hash(name)]; gh != NULL; gh = gh->g_link)
|
/freebsd-current/contrib/bsddialog/lib/ |
H A D | menubox.c | 67 int nitems; /* total nitems (all groups * all items) */ 91 struct bsddialog_menugroup *groups) 101 CHECK_ARRAY(ngroups, groups); 104 CHECK_ARRAY(groups[i].nitems, groups[i].items); 105 m->nitems += (int)groups[i].nitems; 116 for (j = 0; j < (int)groups[i].nitems; j++) { 117 item = &groups[i].items[j]; 120 if (getmode(mode, groups[i]) == MENUMODE) { 122 } else if (getmode(mode, groups[ 89 build_privatemenu(struct bsddialog_conf *conf, struct privatemenu *m, enum menumode mode, unsigned int ngroups, struct bsddialog_menugroup *groups) argument 181 set_return_on(struct privatemenu *m, struct bsddialog_menugroup *groups) argument 221 getfirst_with_default(int npritems, struct privateitem *pritems, int ngroups, struct bsddialog_menugroup *groups, int *focusgroup, int *focusitem) argument 502 do_mixedlist(struct bsddialog_conf *conf, const char *text, int rows, int cols, unsigned int menurows, enum menumode mode, unsigned int ngroups, struct bsddialog_menugroup *groups, int *focuslist, int *focusitem) argument 696 bsddialog_mixedlist(struct bsddialog_conf *conf, const char *text, int rows, int cols, unsigned int menurows, unsigned int ngroups, struct bsddialog_menugroup *groups, int *focuslist, int *focusitem) argument [all...] |
/freebsd-current/usr.sbin/chown/ |
H A D | chown.c | 252 gid_t *groups; local 265 if ((groups = malloc(sizeof(gid_t) * ngroups_max)) == NULL) 267 ngroups = getgroups(ngroups_max, groups); 268 while (--ngroups >= 0 && gid != groups[ngroups]); 269 free(groups);
|
/freebsd-current/sys/netlink/ |
H A D | netlink_generic_kpi.c | 50 * NETLINK_GENERIC families/groups registration logic 59 static struct genl_group groups[MAX_GROUPS]; variable in typeref:struct:genl_group 131 * unregister groups of a given family 138 struct genl_group *gg = &groups[i]; 215 struct genl_group *gg = &groups[i]; 239 struct genl_group *gg = &groups[i]; 275 return ((group_id < MAX_GROUPS) ? &groups[group_id] : NULL);
|
/freebsd-current/sys/kgssapi/ |
H A D | gss_pname_to_uid.c | 83 int *numgroups, gid_t *groups) 123 groups[i] = res.gidlist.gidlist_val[i]; 81 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-current/release/tools/ |
H A D | oci.conf | 80 groups: [wheel]
|
/freebsd-current/usr.sbin/nscd/ |
H A D | cacheplcs.h | 93 struct cache_lfu_policy_group_ groups[CACHELIB_MAX_FREQUENCY]; member in struct:cache_lfu_policy_
|
/freebsd-current/usr.sbin/lpr/lpc/ |
H A D | lpc.c | 344 static gid_t *groups; local 354 if ((groups = malloc(sizeof(gid_t) * ngroups_max)) == NULL) 356 ngroups = getgroups(ngroups_max, groups); 362 if (gid == groups[i])
|
/freebsd-current/lib/libc/rpc/ |
H A D | svc_auth_des.c | 443 int grouplen; /* length of cached groups */ 444 gid_t groups[NGRPS]; /* cached groups */ member in struct:bsdcred 455 int *grouplen, gid_t *groups) 480 &i_grouplen, groups)) 491 cred->groups[i] = groups[i]; /* int to short */ 508 groups[i] = cred->groups[i]; /* short to int */ 454 authdes_getucred(struct authdes_cred *adc, uid_t *uid, gid_t *gid, int *grouplen, gid_t *groups) argument
|
H A D | netnamer.c | 144 _getgroups(char *uname, gid_t groups[NGRPS]) argument 159 "initgroups: %s is in too many groups\n", uname); 166 if (groups[j] == grp->gr_gid) { 171 groups[ngroups++] = grp->gr_gid;
|
/freebsd-current/sys/dev/p2sb/ |
H A D | lewisburg_gpiocm.c | 72 struct lbggroup groups[3]; member in struct:lbgcommunity 108 if (sc->community->groups[i].dev == child) 109 return (&sc->community->groups[i]); 309 for (i = 0; i < nitems(sc->community->groups) && npins > 0; ++i) { 310 group = &sc->community->groups[i];
|
/freebsd-current/usr.bin/genl/ |
H A D | genl.c | 150 printf("\tmulticast groups: \n"); 153 mcast_groups->groups[i]->mcast_grp_id, 154 mcast_groups->groups[i]->mcast_grp_name); 214 if (strcmp(attrs.mcast_groups.groups[i]->mcast_grp_name, 219 (void *)&attrs.mcast_groups.groups[i]->mcast_grp_id, 220 sizeof(attrs.mcast_groups.groups[i]->mcast_grp_id))
|
/freebsd-current/tests/sys/netlink/ |
H A D | test_snl_generic.c | 72 atf_tc_set_md_var(tc, "descr", "Tests getting 'nlctrl' groups"); 101 struct snl_genl_ctrl_mcast_group *group = attrs.mcast_groups.groups[0];
|
/freebsd-current/tools/tools/notescheck/ |
H A D | notescheck.py | 222 groups = line.split('"') 224 # Ensure we have an even number of quotes. The 'groups' array 227 if len(groups) % 2 == 0: 231 # String split all the "odd" groups since they are not quoted strings. 234 for group in groups:
|
/freebsd-current/sbin/ipf/ipf/ |
H A D | ipfcomp.c | 157 static frgroup_t *groups = NULL; variable 182 for (g = groups; g != NULL; g = g->fg_next) 189 g->fg_next = groups; 190 groups = g; 223 for (g = groups; g != NULL; g = g->fg_next) 229 g->fg_next = groups; 230 groups = g; 293 for (g = groups; g != NULL; g = g->fg_next) { 313 for (g = groups; g != NULL; g = g->fg_next) { 359 for (g = groups; [all...] |
/freebsd-current/contrib/wpa/src/p2p/ |
H A D | p2p_group.c | 49 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-current/contrib/libpcap/ |
H A D | pcap-netfilter-linux.c | 524 unsigned short groups[32]; local 546 "Maximum 32 netfilter groups! dev: %s", 560 groups[group_count++] = (unsigned short) group_id; 576 /* if no groups, add default: 0 */ 578 groups[0] = 0; 646 /* Bind socket to the nflog groups */ 648 if (nflog_send_config_cmd(handle, groups[i], NFULNL_CFG_CMD_BIND, AF_UNSPEC) < 0) { 655 if (nflog_send_config_mode(handle, groups[i], NFULNL_COPY_PACKET, handle->snapshot) < 0) { 676 /* Bind socket to the nfqueue groups */ 678 if (nfqueue_send_config_cmd(handle, groups[ [all...] |
/freebsd-current/sys/kern/ |
H A D | kern_prot.c | 92 gid_t *groups); 276 * Get effective group ID. The "egid" is groups[0], and could be obtained 814 gid_t *groups; local 822 groups = malloc(gidsetsize * sizeof(gid_t), M_TEMP, M_WAITOK); 824 groups = smallgroups; 826 error = copyin(uap->gidset, groups, gidsetsize * sizeof(gid_t)); 828 error = kern_setgroups(td, gidsetsize, groups); 831 free(groups, M_TEMP); 836 kern_setgroups(struct thread *td, u_int ngrp, gid_t *groups) argument 843 AUDIT_ARG_GROUPSET(groups, ngr 2253 int groups; local 2317 crsetgroups_locked(struct ucred *cr, int ngrp, gid_t *groups) argument 2349 crsetgroups(struct ucred *cr, int ngrp, gid_t *groups) argument [all...] |
/freebsd-current/tools/tools/netmap/ |
H A D | lb.c | 193 static struct group_des *groups; variable in typeref:struct:group_des 417 groups = realloc(groups, size); 418 if (groups == NULL) { 423 g = &groups[glob_arg.num_groups]; 461 /* complete the initialization of the groups data structure */ 468 g = &groups[i]; 476 struct group_des *h = &groups[j]; 803 struct group_des *g = &groups[j]; 932 /* if there are several groups, tr [all...] |