HomeSort by: relevance | last modified time | path
    Searched defs:groups (Results 1 - 25 of 90) sorted by relevancy

1 2 3 4

  /src/lib/libc/gen/
initgroups.c 59 gid_t *groups = groups_list; local
65 if (getgrouplist(uname, agroup, groups, &ngroups) == -1) {
67 groups = calloc((size_t)maxgroups, sizeof *groups);
68 if (groups == NULL)
70 if (getgrouplist(uname, agroup, groups, &ngroups) == -1)
73 rval = setgroups(ngroups, groups);
77 rval = setgroups(ng, groups);
79 if (groups != groups_list)
80 free(groups);
    [all...]
getgroupmembership.c 69 * Add gid to the groups array (of maxgrp size) at the position
71 * past &groups[maxgrp].
75 __gr_addgid(gid_t gid, gid_t *groups, int maxgrp, int *groupc)
80 _DIAGASSERT(groups != NULL);
84 if (groups[dupc] == gid)
90 groups[*groupc] = gid;
105 gid_t *groups = va_arg(ap, gid_t *); local
116 /* groups may be NULL if just sizing when invoked with maxgrp = 0 */
120 (void) __gr_addgid(agroup, groups, maxgrp, groupc);
129 if (! __gr_addgid(grp.gr_gid, groups, maxgrp, groupc)
148 gid_t *groups = va_arg(ap, gid_t *); local
241 gid_t *groups = va_arg(ap, gid_t *); local
282 gid_t *groups; member in struct:__compatggm
323 gid_t *groups = va_arg(ap, gid_t *); local
    [all...]
  /src/external/bsd/openpam/dist/lib/libpam/
openpam_cred.h 48 gid_t groups[NGROUPS_MAX]; member in struct:pam_saved_cred
  /src/sys/miscfs/umapfs/
umap_subr.c 140 gid_t groups[NGROUPS]; local
173 /* Now we must map each of the set of groups in the cr_groups
179 groups[i] = kauth_cred_group(credp, i);
180 gid = (gid_t) umap_findid(groups[i],
183 groups[i] = gid;
185 groups[i] = NULLGROUP;
188 kauth_cred_setgroups(credp, groups, ngroups, -1, UIO_SYSSPACE);
  /src/external/bsd/atf/dist/atf-c/detail/
user.c 51 static gid_t groups[NGROUPS_MAX]; local
57 ngroups = getgroups(NGROUPS_MAX, groups);
63 if (groups[i] == gid)
  /src/external/mit/libuv/dist/tools/
make_dist_html.py 36 <table>{groups}</table>
41 GROUPS = r'''
43 <td>{groups[0]}</td>
44 <td>{groups[1]}</td>
45 <td>{groups[2]}</td>
46 <td>{groups[3]}</td>
85 return list(map(int, re.match('^v(\d+)\.(\d+)\.(\d+)', tag).groups()))
104 # Partition in groups of |n|.
105 def groups_for(groups, n=4):
107 groups = groups[:] + [''] * (n - 1
118 groups = [group_for(list(g)) for _, g in itertools.groupby(tags, major_minor)] variable
119 groups = groups_for(groups) variable
    [all...]
  /src/usr.sbin/ypserv/revnetgroup/
hash.h 46 struct grouplist *groups; member in struct:member_entry
  /src/external/bsd/atf/dist/tools/
user.cpp 75 static gid_t groups[NGROUPS_MAX]; local
81 ngroups = getgroups(NGROUPS_MAX, groups);
87 if (groups[i] == gid)
  /src/sys/arch/arm/amlogic/
meson_pinctrl.h 75 const struct meson_pinctrl_group *groups; member in struct:meson_pinctrl_config
  /src/usr.bin/newgrp/
grutil.c 59 free_groups(void *groups)
64 free(groups);
69 alloc_groups(int *ngroups, gid_t **groups, int *ngroupsmax)
75 *groups = malloc(*ngroupsmax * sizeof(**groups));
76 if (*groups == NULL)
79 *ngroups = getgroups(*ngroupsmax, *groups);
81 free_groups(*groups);
88 addgid(gid_t *groups, int ngroups, int ngroupsmax, gid_t gid, int makespace)
93 for (i = 0; i < ngroups && groups[i] != gid; i++
142 gid_t *groups; local
212 gid_t *groups; local
    [all...]
  /src/external/ibm-public/postfix/dist/src/tls/
tls_dh.c 30 /* "standard" groups.
321 char *groups; local
336 * OpenSSL does not tolerate duplicate groups in the requested list.
339 * groups we're going to ask OpenSSL to use.
342 * unsupported groups, so we could skip checking against the throw-away
356 groups = save = concatenate(eecdh, " ", ffdhe, NULL);
357 if ((group = mystrtok(&groups, GROUPS_SEP)) == 0) {
362 for (; group != 0; group = mystrtok(&groups, GROUPS_SEP)) {
366 * SSL context. This way, we can ask for new groups that may not yet
368 * groups are silently ignored
    [all...]
  /src/usr.bin/id/
id.c 63 static gid_t *groups; variable
76 if (strcmp(getprogname(), "groups") == 0) {
135 if ((groups = malloc((maxgroups + 1) * sizeof(gid_t))) == NULL)
171 free(groups);
185 (void)printf("groups\t");
211 (void)printf("groups\t");
244 if ((ngroups = getgroups(maxgroups, groups)) != 0) {
245 for (fmt = " groups=%ju", lastid = -1, cnt = 0; cnt < ngroups;
247 gid = groups[cnt];
264 gid_t *glist = groups;
    [all...]
  /src/external/gpl2/diffutils/dist/src/
ifdef.c 97 struct group groups[2]; local
99 groups[0].file = &files[0];
100 groups[0].from = beg0;
101 groups[0].upto = end0;
102 groups[1].file = &files[1];
103 groups[1].from = beg1;
104 groups[1].upto = end1;
105 format_group (outfile, format, 0, groups);
111 GROUPS specifies which lines to print.
116 struct group const *groups)
    [all...]
  /src/external/gpl2/xcvs/dist/diff/
ifdef.c 98 struct group groups[2]; local
100 groups[0].file = &files[0];
101 groups[0].from = beg0;
102 groups[0].upto = end0;
103 groups[1].file = &files[1];
104 groups[1].from = beg1;
105 groups[1].upto = end1;
106 format_group (1, format, '\0', groups);
112 GROUPS specifies which lines to print.
116 format_group (doit, format, endchar, groups)
    [all...]
  /src/external/gpl3/gdb/dist/gdb/
reggroups.c 49 /* A container holding all the register groups for a particular
56 /* Add the default groups. */
68 /* Add GROUP to the list of register groups. */
84 /* The number of register groups. */
92 /* Return a reference to the list of all groups. */
95 groups () const function in struct:reggroups
101 /* The register groups. */
114 struct reggroups *groups = reggroups_data.get (gdbarch); local
115 if (groups == nullptr)
116 groups = reggroups_data.emplace (gdbarch)
125 struct reggroups *groups = get_reggroups (gdbarch); local
137 struct reggroups *groups = get_reggroups (gdbarch); local
    [all...]
  /src/external/gpl3/gdb.old/dist/gdb/
reggroups.c 49 /* A container holding all the register groups for a particular
56 /* Add the default groups. */
68 /* Add GROUP to the list of register groups. */
84 /* The number of register groups. */
92 /* Return a reference to the list of all groups. */
95 groups () const function in struct:reggroups
101 /* The register groups. */
114 struct reggroups *groups = reggroups_data.get (gdbarch); local
115 if (groups == nullptr)
116 groups = reggroups_data.emplace (gdbarch)
125 struct reggroups *groups = get_reggroups (gdbarch); local
137 struct reggroups *groups = get_reggroups (gdbarch); local
    [all...]
  /src/lib/libc/stdlib/
strfmon.c 103 groups++; \
547 int groups = 0; local
634 padded -= groups;
  /src/usr.bin/mail/
glob.h 71 EXTERN struct grouphead *groups[HSHSIZE];/* Pointer to active groups */ variable in typeref:struct:grouphead
  /src/usr.sbin/lpr/lpc/
lpc.c 322 static gid_t groups[NGROUPS]; local
333 ngroups = getgroups(NGROUPS, groups);
339 if (gid == groups[i])
  /src/external/bsd/libpcap/dist/
pcap-netfilter-linux.c 527 unsigned short groups[32]; local
549 "Maximum 32 netfilter groups! dev: %s",
563 groups[group_count++] = (unsigned short) group_id;
579 /* if no groups, add default: 0 */
581 groups[0] = 0;
652 /* Bind socket to the nflog groups */
654 if (nflog_send_config_cmd(handle, groups[i], NFULNL_CFG_CMD_BIND, AF_UNSPEC) < 0) {
661 if (nflog_send_config_mode(handle, groups[i], NFULNL_COPY_PACKET, handle->snapshot) < 0) {
682 /* Bind socket to the nfqueue groups */
684 if (nfqueue_send_config_cmd(handle, groups[i], NFQNL_CFG_CMD_BIND, AF_UNSPEC) < 0)
    [all...]
  /src/external/bsd/wpa/dist/src/pasn/
pasn_initiator.c 81 int groups[] = { pasn->group, 0 }; local
118 res = sae_parse_commit(&pasn->sae, data + 6, len - 6, NULL, 0, groups,
951 /* TODO: Currently support only ECC groups */
pasn_responder.c 47 int groups[] = { pasn->group, 0 }; local
97 groups, 0, NULL);
609 const int *groups = pasn->pasn_groups; local
616 if (!groups)
617 groups = default_groups;
689 for (i = 0; groups[i] > 0 && groups[i] != pasn_params.group; i++)
692 if (!pasn_params.group || groups[i] != pasn_params.group) {
  /src/external/bsd/wpa/dist/wpa_supplicant/
mesh_rsn.c 316 int *groups = wpa_s->ifmsh->bss[0]->conf->sae_groups; local
319 if (!index_within_array(groups, wpa_s->mesh_rsn->sae_group_index))
323 int group = groups[wpa_s->mesh_rsn->sae_group_index];
  /src/external/gpl3/gdb/dist/gdb/python/
py-registers.c 66 /* Structure for iterator over register groups. */
70 /* The index into GROUPS for the next group to return. */
221 const std::vector<const reggroup *> &groups local
223 if (iter_obj->index >= groups.size ())
225 PyErr_SetString (PyExc_StopIteration, _("No more groups"));
229 const reggroup *group = groups[iter_obj->index];
234 /* Return a new gdb.RegisterGroupsIterator over all the register groups in
556 "GDB register groups iterator object", /*tp_doc */
  /src/external/gpl3/gdb/dist/gdb/tui/
tui-regs.c 452 const std::vector<const reggroup *> &groups = gdbarch_reggroups (gdbarch); local
453 auto it = std::find (groups.begin (), groups.end (), current_group);
454 if (it != groups.end ())
456 if (it == groups.end ())
457 return groups.front ();
474 const std::vector<const reggroup *> &groups = gdbarch_reggroups (gdbarch); local
475 auto it = std::find (groups.rbegin (), groups.rend (), current_group);
476 if (it != groups.rend ()
    [all...]

Completed in 55 milliseconds

1 2 3 4