Home
last modified time | relevance | path

Searched refs:gname (Results 1 – 25 of 54) sorted by relevance

123

/freebsd/etc/mtree/
H A DBSD.var.dist5 /set type=dir uname=root gname=wheel mode=0755 tags=package=runtime
18 /set gname=audit
25 authpf uname=root gname=authpf mode=0770
27 /set gname=wheel
50 ntp uname=ntpd gname=ntpd
63 games gname=games mode=0775
69 mail gname=mail mode=0775
85 rwho gname=daemon mode=0775
90 lock uname=uucp gname=dialer mode=0775
92 /set gname=daemon
[all …]
H A DBSD.sendmail.dist5 /set type=dir uname=root gname=wheel mode=0755
9 clientmqueue uname=smmsp gname=smmsp mode=0770 tags=package=sendmail
11 mqueue gname=daemon tags=package=sendmail
H A DBSD.release.dist5 /set type=dir uname=root gname=wheel mode=0755
H A DBSD.lib32.dist5 /set type=dir uname=root gname=wheel mode=0755
H A DBSD.debug.dist5 /set type=dir uname=root gname=wheel mode=0755
H A DREADME26 mtree -bcdjn -F freebsd9 -k uname,gname,mode -p /tmp/MTREE | \
32 and uname= gname= on certain directory areas, mainly man page
/freebsd/release/
H A DMakefile191 echo "./etc/rc.conf type=file uname=root gname=wheel mode=0644" >> ${.TARGET}/METALOG
192 echo "./etc/sysctl.conf type=file uname=root gname=wheel mode=0644" >> ${.TARGET}/METALOG
194 echo "./etc/rc.local type=file uname=root gname=wheel mode=0644" >> ${.TARGET}/METALOG
214 echo "./usr/freebsd-dist type=dir uname=root gname=wheel mode=0755" >> ${.TARGET}/METALOG
228 echo "./etc/rc.conf type=file uname=root gname=wheel mode=0644" >> ${.TARGET}/METALOG
229 echo "./etc/sysctl.conf type=file uname=root gname=wheel mode=0644" >> ${.TARGET}/METALOG
231 echo "./etc/rc.local type=file uname=root gname=wheel mode=0644" >> ${.TARGET}/METALOG
247 echo "./usr/freebsd-dist type=dir uname=root gname=wheel mode=0755" >> ${.TARGET}/METALOG
263 echo "./etc/rc.conf type=file uname=root gname=wheel mode=0644" >> ${.TARGET}/METALOG
264 echo "./etc/sysctl.conf type=file uname=root gname=wheel mode=0644" >> ${.TARGET}/METALOG
[all …]
/freebsd/release/scripts/
H A Dmtree-to-plist.awk4 uname = gname = mode = flags = tags = type = ""
9 } else if ($i ~ /^gname=/) {
10 gname=$i
11 gsub(/gname=/, "", gname)
89 print "@"type"("uname","gname","mode","flags") " $1 > output
/freebsd/contrib/libarchive/libarchive/
H A Darchive_write_disk_set_standard_lookup.c99 lookup_gid(void *private_data, const char *gname, int64_t gid) in lookup_gid() argument
106 if (gname == NULL || *gname == '\0') in lookup_gid()
110 h = hash(gname); in lookup_gid()
112 if (b->name != NULL && b->hash == h && strcmp(gname, b->name) == 0) in lookup_gid()
117 b->name = strdup(gname); in lookup_gid()
132 r = getgrnam_r(gname, &grent, buffer, bufsize, &result); in lookup_gid()
152 result = getgrnam(gname); in lookup_gid()
/freebsd/usr.sbin/efivar/
H A Defivar.c205 pretty_guid(efi_guid_t *guid, char **gname) in pretty_guid() argument
213 efi_guid_to_str(guid, gname); in pretty_guid()
215 *gname = pretty; in pretty_guid()
224 char *gname = NULL; in print_var() local
228 pretty_guid(guid, &gname); in print_var()
248 rep_err(1, "fetching %s-%s", gname, name); in print_var()
253 printf("%s-%s\n", gname, name); in print_var()
267 printf("%s-%s", gname, name); in print_var()
269 free(gname); in print_var()
/freebsd/tools/tools/makeroot/
H A Dmakeroot.sh140 ./etc/group type=file uname=root gname=wheel mode=0644 contents=${tmpdir}/group
141 ./etc/master.passwd type=file uname=root gname=wheel mode=0600 contents=${tmpdir}/master.passwd
142 ./etc/passwd type=file mode=0644 uname=root gname=wheel contents=${tmpdir}/passwd
143 ./etc/pwd.db type=file mode=0644 uname=root gname=wheel contents=${tmpdir}/pwd.db
144 ./etc/spwd.db type=file mode=0600 uname=root gname=wheel contents=${tmpdir}/spwd.db
/freebsd/crypto/openssl/doc/man3/
H A DEVP_PKEY_get_group_name.pod11 int EVP_PKEY_get_group_name(EVP_PKEY *pkey, char *gname, size_t gname_sz,
17 I<gname>, up to at most I<gname_sz> bytes including the ending NUL byte
20 I<gname> as well as I<gname_len> may individually be NULL, and won't be
/freebsd/sbin/mount_cd9660/
H A Dmount_cd9660.c280 const char *gname; in a_gid() local
286 for (gname = s; *s && isdigit(*s); ++s); in a_gid()
288 gid = atoi(gname); in a_gid()
290 errx(EX_NOUSER, "unknown group id: %s", gname); in a_gid()
/freebsd/sbin/mount_msdosfs/
H A Dmount_msdosfs.c233 char *gname; in a_gid() local
239 for (gname = s; *s && isdigit(*s); ++s); in a_gid()
241 gid = atoi(gname); in a_gid()
243 errx(EX_NOUSER, "unknown group id: %s", gname); in a_gid()
/freebsd/contrib/bsnmp/snmp_vacm/
H A Dvacm_snmp.c266 char gname[SNMP_ADM_STR32_SIZ], cprefix[SNMP_ADM_STR32_SIZ]; in op_vacm_access() local
336 sub, gname, cprefix, &smodel, &slevel) < 0) in op_vacm_access()
338 if ((acl = vacm_new_access_rule(gname, cprefix, in op_vacm_access()
713 gname[i] = oid->subs[sub + i + 1]; in vacm_access_rule_index_decode()
714 gname[i] = '\0'; in vacm_access_rule_index_decode()
715 sub += strlen(gname) + 1; in vacm_access_rule_index_decode()
735 char gname[SNMP_ADM_STR32_SIZ], prefix[SNMP_ADM_STR32_SIZ]; in vacm_get_access_rule() local
738 if (vacm_access_rule_index_decode(oid, sub, gname, prefix, &smodel, in vacm_get_access_rule()
744 if (strcmp(gname, acl->group->groupname) == 0 && in vacm_get_access_rule()
756 char gname[SNMP_ADM_STR32_SIZ], prefix[SNMP_ADM_STR32_SIZ]; in vacm_get_next_access_rule() local
[all …]
/freebsd/lib/libcasper/services/cap_grp/
H A Dcap_grp.c481 grp_allowed_group(const nvlist_t *limits, const char *gname, gid_t gid) in grp_allowed_group() argument
507 if (gname != NULL && in grp_allowed_group()
509 gname) == 0) { in grp_allowed_group()
524 const char *name, *gname; in grp_allowed_groups() local
534 gname = NULL; in grp_allowed_groups()
538 gname = nvlist_get_string(newlimits, name); in grp_allowed_groups()
543 if (!grp_allowed_group(oldlimits, gname, gid)) in grp_allowed_groups()
/freebsd/usr.sbin/chown/
H A Dchown.c60 static const char *gname; variable
218 gname = s; in a_gid()
271 warnx("you are not a member of group %s", gname); in chownerr()
/freebsd/usr.bin/mail/
H A Dcmd3.c445 char **ap, *gname, **p; in group() local
466 gname = *argv; in group()
467 h = hash(gname); in group()
468 if ((gh = findgroup(gname)) == NULL) { in group()
471 gh->g_name = vcopy(gname); in group()
/freebsd/usr.bin/find/
H A Dfunction.c990 char *gname; in c_group() local
995 gname = nextarg(option, argvp); in c_group()
999 g = getgrnam(gname); in c_group()
1001 char* cp = gname; in c_group()
1002 if (gname[0] == '-' || gname[0] == '+') in c_group()
1003 gname++; in c_group()
1004 gid = atoi(gname); in c_group()
1005 if (gid == 0 && gname[0] != '0') in c_group()
1006 errx(1, "%s: %s: no such group", option->name, gname); in c_group()
/freebsd/contrib/file/src/
H A Dtar.h65 char gname[TGNMLEN]; member
/freebsd/contrib/libarchive/tar/
H A Dbsdtar.c381 bsdtar->gname = bsdtar->argument; in main()
400 bsdtar->gname = bsdtar->argument; in main()
405 bsdtar->gname = bsdtar->argument; in main()
408 bsdtar->gname = ""; in main()
607 bsdtar->gname = ""; in main()
/freebsd/tools/pkgbase/
H A DREADME.md57 ./bin type=dir uname=root gname=wheel mode=0755
58 ./bin type=dir uname=root gname=wheel mode=0755 tags=...
/freebsd/bin/pax/
H A Dtar.c767 hd->gname[sizeof(hd->gname) - 1] = '\0'; in ustar_rd()
768 if (gid_name(hd->gname, &(arcn->sb.st_gid)) < 0) in ustar_rd()
1008 l_strncpy(hd->gname,name_gid(arcn->sb.st_gid, 0),sizeof(hd->gname)); in ustar_wr()
H A Dtar.h140 char gname[32]; /* ascii group name */ member
/freebsd/sbin/routed/
H A Dparms.c161 char gname[GNAME_LEN+1], qual[9]; in gwkludge() local
212 net_host, dname, gname, &metric, qual); in gwkludge()
250 if (!gethost(gname, &gate)) { in gwkludge()
252 " entry \"%s\"", gname, lptr); in gwkludge()
334 (void)sprintf(ifp->int_name, "%s(%s)", type, gname); in gwkludge()

123