Searched refs:strlcpy (Results 426 - 450 of 1186) sorted by relevance

<<11121314151617181920>>

/freebsd-12-stable/sbin/pfctl/
H A Dpfctl.c477 if (iface != NULL && strlcpy(kill.ifname, iface,
661 if (iface != NULL && strlcpy(kill.ifname, iface,
773 if (iface != NULL && strlcpy(kill.ifname, iface,
829 if (iface != NULL && strlcpy(kill.ifname, iface,
836 if (strlcpy(kill.label, state_kill[1], sizeof(kill.label)) >=
1386 if (strlcpy(r->anchor->path, anchor_call,
1388 errx(1, "pfctl_append_rule: strlcpy");
1395 if (strlcpy(r->anchor->name, p,
1397 errx(1, "pfctl_append_rule: strlcpy");
1512 if (strlcpy(ancho
[all...]
/freebsd-12-stable/usr.sbin/syslogd/
H A Dsyslogd.c760 (void)strlcpy(consfile.fu_fname, ctty + sizeof _PATH_DEV - 1,
762 (void)strlcpy(bootfile, getbootfile(), sizeof(bootfile));
2343 (void)strlcpy(host, "*", sizeof(host));
2344 (void)strlcpy(prog, "*", sizeof(prog));
2345 (void)strlcpy(pfilter, "*", sizeof(pfilter));
2402 (void)strlcpy(host, "*", sizeof(host));
2420 (void)strlcpy(prog, "*", sizeof(prog));
2436 (void)strlcpy(pfilter, "*", sizeof(pfilter));
2439 (void)strlcpy(pfilter, p, sizeof(pfilter));
2491 (void)strlcpy(oldLocalHostNam
[all...]
/freebsd-12-stable/contrib/tcpdump/
H A Dprint-nfs.c213 strlcpy(srcaddr, ipaddr_string(ndo, &ip->ip_src), sizeof(srcaddr));
214 strlcpy(dstaddr, ipaddr_string(ndo, &ip->ip_dst), sizeof(dstaddr));
218 strlcpy(srcaddr, ip6addr_string(ndo, &ip6->ip6_src),
220 strlcpy(dstaddr, ip6addr_string(ndo, &ip6->ip6_dst),
224 strlcpy(srcaddr, "?", sizeof(srcaddr));
225 strlcpy(dstaddr, "?", sizeof(dstaddr));
334 strlcpy(srcid, "nfs", sizeof(srcid));
/freebsd-12-stable/sys/netpfil/pf/
H A Dpf_ioctl.c592 strlcpy(tag->name, tagname, sizeof(tag->name));
1515 strlcpy(pool->ifname, kpool->ifname, sizeof(pool->ifname));
1525 strlcpy(kpool->ifname, pool->ifname, sizeof(kpool->ifname));
1577 strlcpy(rule->label, krule->label[0], sizeof(rule->label));
1578 strlcpy(rule->ifname, krule->ifname, sizeof(rule->ifname));
1579 strlcpy(rule->qname, krule->qname, sizeof(rule->qname));
1580 strlcpy(rule->pqname, krule->pqname, sizeof(rule->pqname));
1581 strlcpy(rule->tagname, krule->tagname, sizeof(rule->tagname));
1582 strlcpy(rule->match_tagname, krule->match_tagname,
1584 strlcpy(rul
[all...]
H A Dpf_if.c267 strlcpy(s.pfik_name, kif_name, sizeof(s.pfik_name));
287 strlcpy(kif->pfik_name, kif_name, sizeof(kif->pfik_name));
483 strlcpy(tblname, aw->v.ifname, sizeof(tblname));
761 strlcpy(key.pfik_name, name, sizeof(key.pfik_name));
806 strlcpy(kif->pfik_name, kkif->pfik_name, sizeof(kif->pfik_name));
/freebsd-12-stable/usr.sbin/bsnmpd/tools/libbsnmptools/
H A Dbsnmptools.c170 strlcpy(snmp_client.user.sec_name, str,
184 strlcpy(snmptoolctx->passwd, str, slen + 1);
397 strlcpy(filename, SNMP_DEFS_DIR, MAXPATHLEN + 1);
400 strlcpy(filename, path, MAXPATHLEN + 1);
611 strlcpy(snmp_client.cname, val, SNMP_CONTEXT_NAME_SIZ);
693 strlcpy(snmp_client.user.sec_name, val,
764 strlcpy(path, val, len + 1);
901 strlcpy(snmp_client.local_path, opt_arg, sizeof(SNMP_LOCAL_PATH));
1074 strlcpy(string, str, i + 1);
/freebsd-12-stable/sys/net/
H A Dif_epair.c830 strlcpy(ifp->if_xname, name, IFNAMSIZ);
878 strlcpy(ifp->if_xname, name, IFNAMSIZ);
890 strlcpy(name, epairname, len);
893 strlcpy(name, scb->ifp->if_xname, len);
905 strlcpy(name, sca->ifp->if_xname, len);
/freebsd-12-stable/usr.sbin/jail/
H A Dcommand.c355 strlcpy(acs, val, cs - val + 1);
369 strlcpy(acs, addr, cs - addr + 1);
383 strlcpy(acs, cs, len);
412 strlcpy(acs, val, cs - val + 1);
432 strlcpy(acs, cs, len);
/freebsd-12-stable/contrib/openbsm/bin/auditdistd/
H A Dreceiver.c67 #include <compat/strlcpy.h>
352 PJDLOG_VERIFY(strlcpy(adhost->adh_trail_name, filename,
431 PJDLOG_VERIFY(strlcpy(adhost->adh_trail_name, filename,
/freebsd-12-stable/contrib/amd/libamu/
H A Dxutil.c563 if (strlcpy(last_msg, msg, sizeof(last_msg)) >= sizeof(last_msg)) /* don't use xstrlcpy here (recursive!) */
576 if (strlcpy(last_msg, msg, sizeof(last_msg)) >= sizeof(last_msg)) /* don't use xstrlcpy here (recursive!) */
606 if (strlcpy(last_msg, msg, 1024) >= 1024) /* don't use xstrlcpy here (recursive!) */
/freebsd-12-stable/crypto/heimdal/lib/sl/
H A Dslc-gram.y761 strlcpy(cname, p + 1, sizeof(cname));
763 strlcpy(cname, filename, sizeof(cname));
767 strlcpy(hname, cname, sizeof(hname));
/freebsd-12-stable/sys/dev/aac/
H A Daac_cam.c322 strlcpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
323 strlcpy(cpi->hba_vid, "Adaptec", HBA_IDLEN);
324 strlcpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
/freebsd-12-stable/sys/dev/isci/
H A Disci_controller.c699 strlcpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
700 strlcpy(cpi->hba_vid, "Intel Corp.", HBA_IDLEN);
701 strlcpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
/freebsd-12-stable/sys/dev/netmap/
H A Dnetmap_pipe.c697 strlcpy(nr_name_orig, hdr->nr_name, sizeof(nr_name_orig));
701 strlcpy(hdr->nr_name, nr_name_orig, sizeof(hdr->nr_name));
714 strlcpy(hdr->nr_name, nr_name_orig, sizeof(hdr->nr_name));
/freebsd-12-stable/sys/dev/mfi/
H A Dmfi_cam.c226 strlcpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
227 strlcpy(cpi->hba_vid, "LSI", HBA_IDLEN);
228 strlcpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
/freebsd-12-stable/sys/powerpc/ps3/
H A Dps3cdrom.c425 strlcpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
426 strlcpy(cpi->hba_vid, "Sony", HBA_IDLEN);
427 strlcpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
/freebsd-12-stable/sbin/ifconfig/
H A Daf_inet6.c190 strlcpy(ifr6.ifr_name, ifr.ifr_name, sizeof(ifr.ifr_name));
442 strlcpy(in6_ifr.ifr_name, name, sizeof(in6_ifr.ifr_name));
469 strlcpy(in6_addreq.ifra_name, name, sizeof(in6_addreq.ifra_name));
H A Difvxlan.c82 strlcpy(ifd.ifd_name, ifr.ifr_name, sizeof(ifd.ifd_name));
522 strlcpy(params.vxlp_mc_ifname, arg,
528 strlcpy(cmd.vxlcmd_ifname, arg, sizeof(cmd.vxlcmd_ifname));
/freebsd-12-stable/usr.bin/msgs/
H A Dmsgs.c861 strlcpy(date, in, sizeof date);
892 strlcpy(subj, nxtfld(inbuf), sizeof subj);
905 strlcpy(subj, "(No Subject)\n", sizeof subj);
/freebsd-12-stable/usr.bin/units/
H A Dunits.c499 strlcpy(buffer, copy, sizeof(buffer));
511 strlcpy(buffer, copy, sizeof(buffer));
520 strlcpy(buffer, copy, sizeof(buffer));
/freebsd-12-stable/usr.sbin/diskinfo/
H A Ddiskinfo.c248 strlcpy(arg.name, "GEOM::descr", sizeof(arg.name));
284 strlcpy(arg.name, "GEOM::candelete", sizeof(arg.name));
298 strlcpy(arg.name, "GEOM::rotation_rate", sizeof(arg.name));
/freebsd-12-stable/usr.sbin/inetd/
H A Dbuiltins.c391 strlcpy(idbuf, optarg, sizeof(idbuf));
580 strlcpy(idbuf, pw->pw_name, sizeof(idbuf));
667 strlcpy(idbuf, p, sizeof(idbuf));
/freebsd-12-stable/usr.sbin/rtsold/
H A Drtsold.c404 strlcpy(nd.ifname, ifname, sizeof(nd.ifname));
430 strlcpy(ifi->ifname, ifname, sizeof(ifi->ifname));
875 strlcpy(nd.ifname, ifa->ifa_name, sizeof(nd.ifname));
/freebsd-12-stable/usr.sbin/spi/
H A Dspi.c212 strlcpy(dev_name, optarg,
330 strlcpy(dev_name, DEFAULT_DEVICE_NAME, sizeof(dev_name));
468 strlcpy(cpath, temp_buf, sizeof(cpath)); /* this shouldn't happen */
/freebsd-12-stable/usr.sbin/ypldap/
H A Dyp.c645 (void)strlcpy(buf, line, sizeof(buf));
664 (void)strlcpy(keybuf, key, sizeof(keybuf));
674 (void)strlcpy(buf, line, sizeof(buf));

Completed in 172 milliseconds

<<11121314151617181920>>