Searched refs:groupname (Results 1 - 18 of 18) sorted by relevance

/freebsd-11-stable/contrib/apr/user/unix/
H A Dgroupinfo.c33 APR_DECLARE(apr_status_t) apr_gid_name_get(char **groupname, apr_gid_t groupid,
57 *groupname = apr_pstrdup(p, gr->gr_name);
62 const char *groupname, apr_pool_t *p)
72 rv = getgrnam_r(groupname, &grp, grbuf, sizeof(grbuf), &gr);
81 if ((gr = getgrnam(groupname)) == NULL) {
/freebsd-11-stable/libexec/revnetgroup/
H A Dhash.h37 char *groupname; member in struct:grouplist
H A Dhash.c186 tmp->groupname = strdup(data);
189 /* Check if all we have to do is insert a new groupname. */
H A Drevnetgroup.c167 printf ("%s", tmp->groupname);
/freebsd-11-stable/contrib/apr/include/
H A Dapr_user.h118 * @param groupname Pointer to new string containing group name (on output)
123 APR_DECLARE(apr_status_t) apr_gid_name_get(char **groupname,
129 * @param groupname The group name to look up
134 const char *groupname, apr_pool_t *p);
H A Dapr_thread_proc.h577 * @param groupname The group name used
580 const char *groupname);
/freebsd-11-stable/share/examples/ypldap/
H A Dypldap.conf35 attribute groupname maps to "cn"
/freebsd-11-stable/sbin/ifconfig/
H A Difgroup.c128 printgroup(const char *groupname) argument
139 strlcpy(ifgr.ifgr_name, groupname, sizeof(ifgr.ifgr_name));
174 static struct option group_gopt = { "g:", "[-g groupname]", printgroup };
/freebsd-11-stable/contrib/bsnmp/snmp_vacm/
H A Dvacm_snmp.c173 ctx->scratch->ptr1 = user->group->groupname;
174 ctx->scratch->int1 = strlen(user->group->groupname);
247 return (string_get(val, user->group->groupname, -1));
687 oid->len = sub + strlen(acl->group->groupname) +
690 oid->subs[sub] = strlen(acl->group->groupname);
691 for (i = 1; i <= strlen(acl->group->groupname); i++)
692 oid->subs[sub + i] = acl->group->groupname[i - 1];
693 sub += strlen(acl->group->groupname) + 1;
744 if (strcmp(gname, acl->group->groupname) == 0 &&
768 if (strcmp(gname, acl->group->groupname)
[all...]
/freebsd-11-stable/contrib/ntp/util/
H A Dntp-keygen.c47 * ntpkey_IFFkey_<groupname>.<filestamp>
48 * ntpkey_iffkey_<groupname>
51 * ntpkey_GQkey_<groupname>.<filestamp>,
52 * ntpkey_gqkey_<groupname>
55 * ntpkey_MVkeyX_<groupname>.<filestamp>,
56 * ntpkey_mvkey_<groupname>
173 char *groupname = NULL; /* group name */ variable
362 groupname = hostbuf;
432 groupname = estrdup(OPT_ARG( IDENT ));
453 groupname
[all...]
/freebsd-11-stable/usr.bin/stat/tests/
H A Dstat_test.sh191 local groupname=$(stat -f '%8Sg' $path)
204 Mode: ($mode/$mode_s) Uid: ($uid/$username) Gid: ($gid/$groupname)
/freebsd-11-stable/contrib/bsnmp/snmpd/
H A Dmain.c132 .groupname = "",
2811 if (strlen(group->groupname) == len &&
2812 memcmp(octets, group->groupname, len) == 0)
2819 memcpy(group->groupname, octets, len);
2820 group->groupname[len] = '\0';
2857 if (strlen(v1->group->groupname) < strlen(v2->group->groupname))
2859 if (strlen(v1->group->groupname) > strlen(v2->group->groupname))
2862 for (i = 0; i < strlen(v1->group->groupname);
[all...]
H A Dsnmpmod.h402 char groupname[SNMP_ADM_STR32_SIZ]; member in struct:vacm_group
/freebsd-11-stable/tools/regression/netinet/ipmulticast/
H A Dipmulticast.c657 char groupname[NI_MAXHOST]; local
672 error = getnameinfo(&group->sa, group->sa.sa_len, groupname,
689 (int)timeout, groupname, sourcename);
/freebsd-11-stable/sys/net/
H A Dif.c1380 if_addgroup(struct ifnet *ifp, const char *groupname) argument
1387 if (groupname[0] && groupname[strlen(groupname) - 1] >= '0' &&
1388 groupname[strlen(groupname) - 1] <= '9')
1393 if (!strcmp(ifgl->ifgl_group->ifg_group, groupname)) {
1412 if (!strcmp(ifg->ifg_group, groupname))
1423 strlcpy(ifg->ifg_group, groupname, sizeof(ifg->ifg_group));
1443 EVENTHANDLER_INVOKE(group_change_event, groupname);
1452 if_delgroup(struct ifnet *ifp, const char *groupname) argument
1502 char groupname[IFNAMSIZ]; local
[all...]
/freebsd-11-stable/contrib/apr/threadproc/unix/
H A Dproc.c335 const char *groupname)
339 if ((rv = apr_gid_get(&attr->gid, groupname, attr->pool)) != APR_SUCCESS)
/freebsd-11-stable/contrib/ntp/ntpd/
H A Dntp_proto.c645 char *groupname = NULL; local
867 groupname = strchr(hostname, '@');
868 if (groupname == NULL) {
869 DPRINTF(2, ("receive: drop: empty autokey groupname\n"));
873 groupname++;
1323 if (group_test(groupname, NULL)) {
1324 DPRINTF(2, ("receive: AM_FXMIT drop: empty groupname\n"));
1397 if (group_test(groupname, NULL)) {
1398 DPRINTF(2, ("receive: AM_MANYCAST drop: empty groupname\n"));
1472 if (group_test(groupname, sys_iden
[all...]
/freebsd-11-stable/contrib/ipfilter/tools/
H A Dipf_y.y114 %type <str> servicename name interfacename groupname
472 group: | IPFY_GROUP groupname { DOALL(setgroup(&fr, $2); \
478 head: | IPFY_HEAD groupname { DOALL(setgrhead(&fr, $2););
483 groupname: label
1409 | IPFY_ICMPHEAD groupname

Completed in 222 milliseconds