/freebsd-current/release/scripts/ |
H A D | mtree-to-plist.awk | 4 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-current/contrib/file/src/ |
H A D | tar.h | 65 char gname[TGNMLEN]; member in struct:record::header 71 /* The magic field is filled with this if uname and gname are valid. */
|
/freebsd-current/release/ |
H A D | Makefile | 127 echo "./var/db/etcupdate type=dir uname=root gname=wheel mode=0755" >> ${.OBJDIR}/${DISTDIR}/base.meta 175 echo "./usr/freebsd-dist type=dir uname=root gname=wheel mode=0755" >> ${.TARGET}/METALOG 177 do echo "./usr/freebsd-dist/$${dist} type=file uname=root gname=wheel mode=0644" >> ${.TARGET}/METALOG; \ 190 echo "./etc/resolv.conf type=link uname=root gname=wheel mode=0644 link=/tmp/bsdinstall_etc/resolv.conf" >> ${.TARGET}/METALOG 191 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 193 echo "./boot/loader.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 215 echo "./usr/freebsd-dist/MANIFEST type=file uname=root gname [all...] |
/freebsd-current/contrib/libarchive/libarchive/ |
H A D | archive_write_disk_set_standard_lookup.c | 99 lookup_gid(void *private_data, const char *gname, int64_t gid) argument 105 /* If no gname, just use the gid provided. */ 106 if (gname == NULL || *gname == '\0') 109 /* Try to find gname in the cache. */ 110 h = hash(gname); 112 if (b->name != NULL && b->hash == h && strcmp(gname, b->name) == 0) 117 b->name = strdup(gname); 132 r = getgrnam_r(gname, &grent, buffer, bufsize, &result); 152 result = getgrnam(gname); [all...] |
H A D | archive_write_set_format_gnutar.c | 58 const char * gname; member in struct:gnutar 416 r = archive_entry_gname_l(entry, &(gnutar->gname), 427 "Can't translate gname '%s' to %s", 472 /* Uname/gname here don't really matter since no one reads them; 502 /* Uname/gname here don't really matter since no one reads them; 626 p = gnutar->gname;
|
H A D | archive_write_set_format_pax.c | 181 * filenames, uname and gname to any charsets. 590 const char *uname = NULL, *gname = NULL; local 899 r = get_entry_gname(a, entry_main, &gname, &gname_length, sconv); 904 r = get_entry_gname(a, entry_main, &gname, &gname_length, NULL); 910 "Can't translate gname '%s' to %s", gname, 963 r = get_entry_gname(a, entry_main, &gname, &gname_length, NULL); 1056 * 'gname' to pax extended attrs. */ 1057 if (gname != NULL) { 1058 if (gname_length > 31 || has_non_ASCII(gname)) { [all...] |
H A D | archive_write_set_format_mtree.c | 100 struct archive_string gname; member in struct:mtree_entry 520 if (archive_strlen(&(acs->gid_list->m_entry->gname)) > 0) { 521 archive_strcat(&setstr, " gname="); 522 mtree_quote(&setstr, acs->gid_list->m_entry->gname.s); 526 archive_strcat(&unsetstr, " gname"); 809 archive_strcpy(&me->gname, s); 858 archive_string_free(&me->gname); 951 if ((keys & F_GNAME) != 0 && archive_strlen(&me->gname) > 0) { 952 archive_strcat(str, " gname="); 953 mtree_quote(str, me->gname [all...] |
/freebsd-current/usr.sbin/efivar/ |
H A D | efivar.c | 205 pretty_guid(efi_guid_t *guid, char **gname) argument 213 efi_guid_to_str(guid, gname); 215 *gname = pretty; 224 char *gname = NULL; local 228 pretty_guid(guid, &gname); 248 rep_err(1, "fetching %s-%s", gname, name); 253 printf("%s-%s\n", gname, name); 267 printf("%s-%s", gname, name); 269 free(gname);
|
/freebsd-current/tools/tools/makeroot/ |
H A D | makeroot.sh | 140 ./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 212 echo "./etc/rcorder.start type=file mode=644 uname=root gname=wheel" \ 228 echo ".${userdir}/.ssh type=dir mode=700 uname=${user} gname=${group}" >> ${manifest} 229 echo ".${userdir}/.ssh/authorized_keys type=file mode=600 uname=${user} gname=${group} contents=${tmpdir}/authorized_keys" >> ${manifest}
|
/freebsd-current/sbin/mount_msdosfs/ |
H A D | mount_msdosfs.c | 233 char *gname; local 239 for (gname = s; *s && isdigit(*s); ++s); 241 gid = atoi(gname); 243 errx(EX_NOUSER, "unknown group id: %s", gname);
|
/freebsd-current/bin/pax/ |
H A D | tar.h | 140 char gname[32]; /* ascii group name */ member in struct:__anon11
|
H A D | tar.c | 762 * If we can find the ascii names for gname and uname in the password 767 hd->gname[sizeof(hd->gname) - 1] = '\0'; 768 if (gid_name(hd->gname, &(arcn->sb.st_gid)) < 0) 1008 l_strncpy(hd->gname,name_gid(arcn->sb.st_gid, 0),sizeof(hd->gname));
|
/freebsd-current/sbin/mount_cd9660/ |
H A D | mount_cd9660.c | 280 const char *gname; local 286 for (gname = s; *s && isdigit(*s); ++s); 288 gid = atoi(gname); 290 errx(EX_NOUSER, "unknown group id: %s", gname);
|
/freebsd-current/contrib/bsnmp/snmp_vacm/ |
H A D | vacm_snmp.c | 266 char gname[SNMP_ADM_STR32_SIZ], cprefix[SNMP_ADM_STR32_SIZ]; local 336 sub, gname, cprefix, &smodel, &slevel) < 0) 338 if ((acl = vacm_new_access_rule(gname, cprefix, 704 vacm_access_rule_index_decode(const struct asn_oid *oid, uint sub, char *gname, argument 713 gname[i] = oid->subs[sub + i + 1]; 714 gname[i] = '\0'; 715 sub += strlen(gname) + 1; 735 char gname[SNMP_ADM_STR32_SIZ], prefix[SNMP_ADM_STR32_SIZ]; local 738 if (vacm_access_rule_index_decode(oid, sub, gname, prefix, &smodel, 744 if (strcmp(gname, ac 756 char gname[SNMP_ADM_STR32_SIZ], prefix[SNMP_ADM_STR32_SIZ]; local [all...] |
/freebsd-current/usr.sbin/chown/ |
H A D | chown.c | 60 static const char *gname; variable 218 gname = s; 271 warnx("you are not a member of group %s", gname);
|
/freebsd-current/lib/libcasper/services/cap_grp/ |
H A D | cap_grp.c | 481 grp_allowed_group(const nvlist_t *limits, const char *gname, gid_t gid) argument 507 if (gname != NULL && 509 gname) == 0) { 524 const char *name, *gname; local 534 gname = NULL; 538 gname = nvlist_get_string(newlimits, name); 543 if (!grp_allowed_group(oldlimits, gname, gid))
|
/freebsd-current/usr.bin/mail/ |
H A D | cmd3.c | 445 char **ap, *gname, **p; local 466 gname = *argv; 467 h = hash(gname); 468 if ((gh = findgroup(gname)) == NULL) { 471 gh->g_name = vcopy(gname);
|
/freebsd-current/usr.bin/find/ |
H A D | function.c | 975 * -group gname functions -- 977 * True if the file belongs to the group gname. If gname is numeric and 979 * name, gname is taken as a group ID. 990 char *gname; local 995 gname = nextarg(option, argvp); 999 g = getgrnam(gname); 1001 char* cp = gname; 1002 if (gname[0] == '-' || gname[ [all...] |
/freebsd-current/contrib/libarchive/tar/ |
H A D | bsdtar.h | 59 const char *gname; /* --gname */ member in struct:bsdtar
|
H A D | read.c | 291 if (bsdtar->gname) 292 archive_entry_set_gname(entry, bsdtar->gname);
|
H A D | bsdtar.c | 381 bsdtar->gname = bsdtar->argument; 400 bsdtar->gname = bsdtar->argument; 405 bsdtar->gname = bsdtar->argument; 408 bsdtar->gname = ""; 607 bsdtar->gname = "";
|
/freebsd-current/sbin/routed/ |
H A D | parms.c | 161 char gname[GNAME_LEN+1], qual[9]; local 212 net_host, dname, gname, &metric, qual); 250 if (!gethost(gname, &gate)) { 252 " entry \"%s\"", gname, lptr); 334 (void)sprintf(ifp->int_name, "%s(%s)", type, gname);
|
/freebsd-current/contrib/libarchive/cpio/ |
H A D | cpio.c | 86 /* Fixed size of uname/gname caches. */ 323 /* TODO: owner_parse should return uname/gname 1149 const char *uname, *gname; local 1167 gname = gids; 1173 /* Use gname if it's present, else lookup name from gid. */ 1174 gname = archive_entry_gname(entry); 1175 if (gname == NULL) 1176 gname = lookup_gname(cpio, (uid_t)archive_entry_gid(entry)); 1220 uname, gname, size, date, 1358 * Lookup uname/gname fro [all...] |
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/history/ |
H A D | history_common.kshlib | 214 typeset is_set lflag dflag dsname gname gid uname uid opt str code tmp
|
/freebsd-current/usr.sbin/makefs/ |
H A D | mtree.c | 556 } else if (strcmp(keyword, "gname") == 0) {
|