/freebsd-13-stable/crypto/openssh/ |
H A D | xmalloc.c | 100 strlcpy(cp, str, len);
|
H A D | loginrec.c | 317 if (strlcpy(li->username, pw->pw_name, sizeof(li->username)) >= 384 strlcpy(li->username, username, sizeof(li->username)); 394 strlcpy(li->hostname, hostname, sizeof(li->hostname)); 568 strlcpy(dst, src, dstsize); 570 strlcpy(dst, "/dev/", dstsize); 582 strlcpy(dst, src + 5, dstsize); 584 strlcpy(dst, src, dstsize); 618 /* note: _don't_ change this to strlcpy */ 1228 strlcpy(li->hostname, ut.ut_host, 1390 strlcpy(l [all...] |
/freebsd-13-stable/usr.sbin/ngctl/ |
H A D | write.c | 111 strlcpy(sag->sg_data, hook, sizeof(sagbuf) - 2);
|
/freebsd-13-stable/usr.sbin/ntp/libntpevent/ |
H A D | Makefile | 14 select.c signal.c strlcpy.c
|
/freebsd-13-stable/usr.bin/calendar/ |
H A D | parsedata.c | 121 strlcpy(specialday, s1, SLEN); \ 126 strlcpy(modifieroffset, s1 + lens2, SLEN); \ 171 strlcpy(dayofweek, date, SLEN); 176 strlcpy(modifierindex, date + len, SLEN); 184 strlcpy(month, getmonthname(*imonth), SLEN); 203 strlcpy(year, p1, SLEN); 218 strlcpy(month, getmonthname(offset), SLEN); 220 strlcpy(dayofmonth, p2, SLEN); 234 strlcpy(dayofweek, getdayofweekname(offset), SLEN); 237 strlcpy(modifierinde [all...] |
/freebsd-13-stable/usr.bin/ctags/ |
H A D | fortran.c | 128 (void)strlcpy(tok, lbp, sizeof(tok)); /* possible trunc */
|
H A D | lisp.c | 102 (void)strlcpy(tok, lbp, sizeof(tok)); /* possible trunc */
|
/freebsd-13-stable/usr.bin/diff/ |
H A D | diffdir.c | 58 dirlen1 = strlcpy(path1, *p1 ? p1 : ".", sizeof(path1)); 68 dirlen2 = strlcpy(path2, *p2 ? p2 : ".", sizeof(path2)); 176 strlcpy(path1 + plen1, dp->d_name, PATH_MAX - plen1); 186 strlcpy(path2 + plen2, dp->d_name, PATH_MAX - plen2);
|
/freebsd-13-stable/usr.bin/netstat/ |
H A D | nhops.c | 226 strlcpy(map->ptr[idx].ifname, ifname, sizeof(map->ptr[idx].ifname)); 227 strlcpy(map->ptr[idx].gw, gw, sizeof(map->ptr[idx].gw)); 263 strlcpy(iface_name, ifmap[nh->ifindex].ifname, 266 strlcpy(iface_name, "---", sizeof(iface_name)); 279 strlcpy(gw_addr, cp, sizeof(gw_addr)); 305 strlcpy(iface_name, ifmap[nh->aifindex].ifname, 308 strlcpy(iface_name, "---", sizeof(iface_name));
|
/freebsd-13-stable/sbin/ifconfig/ |
H A D | ifbridge.c | 94 strlcpy(ifd.ifd_name, ifr.ifr_name, sizeof(ifd.ifd_name)); 107 strlcpy(req.ifbr_ifsname, ifs, sizeof(req.ifbr_ifsname)); 233 strlcpy(req.ifbr_ifsname, val, sizeof(req.ifbr_ifsname)); 244 strlcpy(req.ifbr_ifsname, val, sizeof(req.ifbr_ifsname)); 297 strlcpy(req.ifbr_ifsname, val, sizeof(req.ifbr_ifsname)); 308 strlcpy(req.ifbr_ifsname, val, sizeof(req.ifbr_ifsname)); 405 strlcpy(req.ifba_ifsname, val, sizeof(req.ifba_ifsname)); 563 strlcpy(req.ifbr_ifsname, ifn, sizeof(req.ifbr_ifsname)); 582 strlcpy(req.ifbr_ifsname, ifn, sizeof(req.ifbr_ifsname)); 601 strlcpy(re [all...] |
/freebsd-13-stable/sys/contrib/openzfs/module/zfs/ |
H A D | zcp_get.c | 86 (void) strlcpy(str, "snapshot", ZAP_MAXVALUELEN); 89 (void) strlcpy(str, "filesystem", ZAP_MAXVALUELEN); 92 (void) strlcpy(str, "volume", ZAP_MAXVALUELEN); 325 (void) strlcpy(setpoint, "", ZFS_MAX_DATASET_NAME_LEN); 329 (void) strlcpy(setpoint, "", ZFS_MAX_DATASET_NAME_LEN); 349 (void) strlcpy(strval, token, ZAP_MAXVALUELEN); 353 (void) strlcpy(strval, childval, ZAP_MAXVALUELEN); 371 (void) strlcpy(setpoint, dsname, 407 strlcpy(setpoint, source, sizeof (setpoint)); 701 (void) strlcpy(snap_nam [all...] |
/freebsd-13-stable/sys/fs/autofs/ |
H A D | autofs.c | 436 strlcpy(ar->ar_from, amp->am_from, sizeof(ar->ar_from)); 437 strlcpy(ar->ar_path, path, sizeof(ar->ar_path)); 438 strlcpy(ar->ar_prefix, amp->am_prefix, sizeof(ar->ar_prefix)); 439 strlcpy(ar->ar_key, key, sizeof(ar->ar_key)); 440 strlcpy(ar->ar_options, 579 strlcpy(adr->adr_from, ar->ar_from, sizeof(adr->adr_from)); 580 strlcpy(adr->adr_path, ar->ar_path, sizeof(adr->adr_path)); 581 strlcpy(adr->adr_prefix, ar->ar_prefix, sizeof(adr->adr_prefix)); 582 strlcpy(adr->adr_key, ar->ar_key, sizeof(adr->adr_key)); 583 strlcpy(ad [all...] |
/freebsd-13-stable/crypto/heimdal/lib/kadm5/ |
H A D | password_quality.c | 58 strlcpy(message, "Password too short", length); 108 strlcpy(message, "out of memory", length); 111 strlcpy(pw, pwd->data, len); 167 strlcpy(message, "out of memory", length); 424 strlcpy(module, name, len);
|
/freebsd-13-stable/sbin/hastd/ |
H A D | proto_uds.c | 83 if (strlcpy(sunp->sun_path, addr, sizeof(sunp->sun_path)) >= 280 PJDLOG_VERIFY(strlcpy(addr, "N/A", size) < size); 285 PJDLOG_VERIFY(strlcpy(addr, "N/A", size) < size); 304 PJDLOG_VERIFY(strlcpy(addr, "N/A", size) < size); 309 PJDLOG_VERIFY(strlcpy(addr, "N/A", size) < size);
|
/freebsd-13-stable/sys/cddl/dev/sdt/ |
H A D | sdt.c | 162 len = strlcpy(mod, probe->sdtp_lf->filename, sizeof(mod)); 166 strlcpy(mod, probe->mod, sizeof(mod)); 174 strlcpy(func, probe->func, sizeof(func)); 261 strlcpy(desc->dtargd_native, argtype->type, 264 strlcpy(desc->dtargd_xlate, argtype->xtype,
|
/freebsd-13-stable/usr.bin/iscsictl/ |
H A D | iscsictl.c | 319 strlcpy(conf->isc_initiator, targ->t_initiator_name, 322 strlcpy(conf->isc_initiator_addr, targ->t_initiator_address, 325 strlcpy(conf->isc_initiator_alias, targ->t_initiator_alias, 328 strlcpy(conf->isc_target, targ->t_name, 331 strlcpy(conf->isc_target_addr, targ->t_address, 334 strlcpy(conf->isc_user, targ->t_user, 337 strlcpy(conf->isc_secret, targ->t_secret, 340 strlcpy(conf->isc_mutual_user, targ->t_mutual_user, 343 strlcpy(conf->isc_mutual_secret, targ->t_mutual_secret, 352 strlcpy(con [all...] |
/freebsd-13-stable/contrib/tnftp/src/ |
H A D | fetch.c | 183 (void)strlcpy(realm, cp, len + 1); 192 (void)strlcpy(uuser, guser, sizeof(uuser)); 214 (void)strlcpy(clear, uuser, clen); 223 (void)strlcpy(*response, scheme, rlen); 378 (void)strlcpy(thost, url, len + 1); 724 strlcpy(hname, "?", sizeof(hname)); 725 strlcpy(sname, "?", sizeof(sname)); 1359 len = strlcpy(msgbuf, "\nHTTP fetch aborted.\n", sizeof(msgbuf)); 1465 (void)strlcpy(dirbuf, "/", sizeof(dirbuf)); 1499 (void)strlcpy(cmdbu [all...] |
H A D | util.c | 156 (void)strlcpy(typename, "ascii", sizeof(typename)); 159 (void)strlcpy(formname, "non-print", sizeof(formname)); 161 (void)strlcpy(modename, "stream", sizeof(modename)); 163 (void)strlcpy(structname, "file", sizeof(structname)); 165 (void)strlcpy(bytename, "8", sizeof(bytename)); 241 (void)strlcpy(typename, "binary", sizeof(typename)); 436 (void)strlcpy(nuser, fuser, len); 485 (void)strlcpy(line, "$init", sizeof(line)); 575 len = strlcpy(temp, tmpdir, sizeof(temp)); 864 (void)strlcpy(parentdirbu [all...] |
/freebsd-13-stable/lib/libc/net/ |
H A D | getnameinfo.c | 214 strlcpy(serv, sp->s_name, servlen); 219 strlcpy(serv, numserv, servlen); 290 strlcpy(host, numaddr, hostlen); 313 strlcpy(host, hp->h_name, hostlen); 356 strlcpy(host, numaddr, hostlen); 533 strlcpy(host, (const char *)sa + afd->a_off, pathlen + 1);
|
/freebsd-13-stable/lib/libc/string/ |
H A D | Makefile.inc | 16 strcspn.c strdup.c strerror.c strlcat.c strlcpy.c strlen.c strmode.c \ 39 string.3 strlcpy.3 strlen.3 strmode.3 strpbrk.3 strsep.3 \ 71 MLINKS+=strlcpy.3 strlcat.3
|
/freebsd-13-stable/crypto/heimdal/appl/ftp/ftp/ |
H A D | ftp.c | 79 strlcpy (hostnamebuf, host, sizeof(hostnamebuf)); 89 strlcpy (hostnamebuf, a->ai_canonname, sizeof(hostnamebuf)); 100 strlcpy (addrstr, "unknown address", sizeof(addrstr)); 208 strlcpy(username, userstr, sizeof(username)); 261 strlcpy (line, "$init", sizeof (line)); 396 strlcpy (reply_string, buf, sizeof(reply_string)); 414 strlcpy(pasv, q, sizeof(pasv)); 1527 strlcpy (ip->name, hostname, sizeof (ip->name)); 1553 strlcpy (ip->nti, ntin, sizeof (ip->nti)); 1554 strlcpy (nti [all...] |
/freebsd-13-stable/contrib/hyperv/tools/ |
H A D | hv_kvp_daemon.c | 793 strlcpy(buffer, "inet_ntop failed\n", length); 797 strlcpy(buffer, tmp, length); 839 strlcpy(buffer, "getifaddrs failed\n", buffer_length); 921 strlcpy(sn_str, cidr_mask, sn_str_length); 1084 strlcpy(buffer, "getaddrinfo failed\n", length); 1087 strlcpy(buffer, info->ai_canonname, length); 1258 strlcpy(key_value, lic_version, HV_KVP_EXCHANGE_MAX_VALUE_SIZE); 1274 strlcpy(key_value, os_build, HV_KVP_EXCHANGE_MAX_VALUE_SIZE); 1279 strlcpy(key_value, os_name, HV_KVP_EXCHANGE_MAX_VALUE_SIZE); 1284 strlcpy(key_valu [all...] |
/freebsd-13-stable/sys/contrib/openzfs/lib/libzfs/ |
H A D | libzfs_dataset.c | 301 (void) strlcpy(pool_name, zhp->zfs_name, len); 332 (void) strlcpy(zc->zc_name, zhp->zfs_name, sizeof (zc->zc_name)); 360 (void) strlcpy(zc.zc_name, zhp->zfs_name, sizeof (zc.zc_name)); 487 (void) strlcpy(zhp->zfs_name, path, sizeof (zhp->zfs_name)); 514 (void) strlcpy(zhp->zfs_name, zc->zc_name, sizeof (zhp->zfs_name)); 531 (void) strlcpy(zhp->zfs_name, zc->zc_name, sizeof (zhp->zfs_name)); 549 (void) strlcpy(zhp->zfs_name, zhp_orig->zfs_name, 597 (void) strlcpy(fsname, path, sizeof (fsname)); 628 (void) strlcpy(zhp->zfs_name, path, sizeof (zhp->zfs_name)); 1837 (void) strlcpy(z [all...] |
/freebsd-13-stable/crypto/heimdal/appl/ftp/ftpd/ |
H A D | popen.c | 89 strlcpy(home, pwd->pw_dir, sizeof(home)); 92 strlcpy(newpath, path, sizeof(newpath));
|
/freebsd-13-stable/crypto/heimdal/appl/telnet/libtelnet/ |
H A D | kerberos5.c | 713 strlcpy(name, UserNameRequested, name_sz); 736 strlcpy((char *)buf, " REJECT ", buflen); 740 strlcpy((char *)buf, " ACCEPT ", buflen); 754 strlcpy((char *)buf, " AUTH", buflen); 758 strlcpy((char *)buf, " RESPONSE", buflen); 762 strlcpy((char *)buf, " FORWARD", buflen); 766 strlcpy((char *)buf, " FORWARD_ACCEPT", buflen); 771 strlcpy((char *)buf, " FORWARD_REJECT", buflen);
|