/freebsd-13-stable/lib/libutil/ |
H A D | realhostname.c | 61 strlcpy(trimmed, hp->h_name, sizeof(trimmed)); 66 strlcpy(lookup, hp->h_name, sizeof(lookup)); 178 strlcpy(buf, ores->ai_canonname,
|
/freebsd-13-stable/contrib/ldns/compat/ |
H A D | fake-rfc2553.c | 57 if (strlcpy(serv, tmpserv, servlen) >= servlen) 63 if (strlcpy(host, inet_ntoa(sin->sin_addr), 74 if (strlcpy(host, hp->h_name, hostlen) >= hostlen)
|
/freebsd-13-stable/contrib/openbsm/libbsm/ |
H A D | bsm_class.c | 43 #include <compat/strlcpy.h> 81 strlcpy(c->ac_name, classname, AU_CLASS_NAME_MAX); 88 strlcpy(c->ac_desc, classdesc, AU_CLASS_DESC_MAX);
|
/freebsd-13-stable/sys/geom/label/ |
H A D | g_label_msdosfs.c | 114 strlcpy(label, pfat_bsbpb->BS_VolLab, 136 strlcpy(label, pfat32_bsbpb->BS_VolLab, 187 strlcpy(label, pfat_entry->DIR_Name,
|
/freebsd-13-stable/sys/geom/vinum/ |
H A D | geom_vinum_move.c | 165 strlcpy(newsd->name, cursd->name, sizeof(newsd->name)); 166 strlcpy(newsd->drive, destination->name, sizeof(newsd->drive)); 167 strlcpy(newsd->plex, cursd->plex, sizeof(newsd->plex));
|
/freebsd-13-stable/crypto/openssh/openbsd-compat/ |
H A D | fake-rfc2553.c | 58 if (strlcpy(serv, tmpserv, servlen) >= servlen) 64 if (strlcpy(host, inet_ntoa(sin->sin_addr), 75 if (strlcpy(host, hp->h_name, hostlen) >= hostlen)
|
H A D | setproctitle.c | 140 strlcpy(buf, __progname, sizeof(buf)); 161 len = strlcpy(argv_start, ptitle, argv_env_len);
|
H A D | xcrypt.c | 82 strlcpy(salt, "xx", sizeof(salt)); 89 strlcpy(salt, passwd, MIN(typelen, sizeof(salt)));
|
/freebsd-13-stable/usr.sbin/fstyp/ |
H A D | hammer.c | 80 strlcpy(label, ondisk->vol_label, sizeof(label)); 109 strlcpy(label, ondisk->vol_label, size); 191 strlcpy(label, ondisk->vol_label, size);
|
/freebsd-13-stable/usr.sbin/pw/ |
H A D | pw.c | 123 strlcpy(conf.rootdir, "/", sizeof(conf.rootdir)); 124 strlcpy(conf.etcpath, _PATH_PWD, sizeof(conf.etcpath)); 160 strlcpy(conf.rootdir, optarg,
|
/freebsd-13-stable/usr.sbin/wake/ |
H A D | wake.c | 92 if (strlcpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)) >= 127 strlcpy(dst, ifa->ifa_name, len); 205 strlcpy(ifname, argv[1], sizeof(ifname));
|
/freebsd-13-stable/crypto/heimdal/appl/telnet/libtelnet/ |
H A D | rsaencpwd.c | 263 strlcpy(challenge, "randchal", sizeof(challenge)); 395 strlcpy(name, UserNameRequested, name_sz); 416 strlcpy((char *)buf, " REJECT ", buflen); 420 strlcpy((char *)buf, " ACCEPT ", buflen); 433 strlcpy((char *)buf, " AUTH", buflen); 437 strlcpy((char *)buf, " CHALLENGEKEY", buflen);
|
/freebsd-13-stable/contrib/openbsm/bin/auditdistd/ |
H A D | proto_uds.c | 46 #include <compat/strlcpy.h> 84 if (strlcpy(sunp->sun_path, addr, sizeof(sunp->sun_path)) >= 278 PJDLOG_VERIFY(strlcpy(addr, "N/A", size) < size); 283 PJDLOG_VERIFY(strlcpy(addr, "N/A", size) < size); 302 PJDLOG_VERIFY(strlcpy(addr, "N/A", size) < size); 307 PJDLOG_VERIFY(strlcpy(addr, "N/A", size) < size);
|
/freebsd-13-stable/contrib/sendmail/libsm/ |
H A D | b-strl.c | 47 printf("strlcpy() and sm_strlcpy(), and strlcat() and sm_strlcat().\n"); 58 printf("versions of strlcpy(3) and strlcat(3). Thus, performing\n"); 60 printf("If your OS has strlcpy(3) and strlcat(3) then set the macro\n"); 103 (void) strlcpy(source, 151 printf("Test 2: strlcpy() versus sm_strlpy()\n"); 158 strlcpy(dest, source, SRC_SIZE - 1);
|
/freebsd-13-stable/crypto/heimdal/appl/login/ |
H A D | utmp_login.c | 51 strlcpy (dst, hostname, dst_sz); 59 strlcpy (dst, hostname, dst_sz);
|
/freebsd-13-stable/contrib/tcpdump/ |
H A D | print-sunrpc.c | 182 strlcpy(dstid, "sunrpc", sizeof(dstid)); 247 strlcpy(buf, rp->r_name, sizeof(buf));
|
/freebsd-13-stable/sbin/ifconfig/ |
H A D | ifgre.c | 79 strlcpy(ifr.ifr_name, name, sizeof (ifr.ifr_name)); 91 strlcpy(ifr.ifr_name, name, sizeof (ifr.ifr_name));
|
H A D | ifconfig.c | 441 strlcpy(options, "G:adf:klmnuv", sizeof(options)); 551 iflen = strlcpy(name, ifname, sizeof(name)); 565 iflen = strlcpy(name, ifname, sizeof(name)); 602 iflen = strlcpy(name, ifname, sizeof(name)); 631 strlcpy(paifr.ifr_name, ifa->ifa_name, sizeof(paifr.ifr_name)); 645 iflen = strlcpy(name, ifa->ifa_name, sizeof(name)); 728 strlcpy(ifgr.ifgr_name, ifname, IFNAMSIZ); 903 strlcpy(ifr.ifr_name, name, sizeof ifr.ifr_name); 1022 strlcpy(((struct ifreq *)afp->af_ridreq)->ifr_name, name, 1040 strlcpy(((struc [all...] |
/freebsd-13-stable/cddl/contrib/opensolaris/lib/pyzfs/common/ |
H A D | ioctl.c | 243 (void) strlcpy(zc.zc_name, name, sizeof (zc.zc_name)); 278 (void) strlcpy(zc.zc_name, name, sizeof (zc.zc_name)); 299 (void) strlcpy(zc.zc_name, name, sizeof (zc.zc_name)); 333 (void) strlcpy(zc.zc_name, name, sizeof (zc.zc_name)); 358 (void) strlcpy(zc.zc_name, name, sizeof (zc.zc_name)); 392 (void) strlcpy(zc.zc_name, name, sizeof (zc.zc_name)); 442 (void) strlcpy(zc.zc_name, name, sizeof (zc.zc_name)); 462 (void) strlcpy(cmdstr, str, sizeof (cmdstr));
|
/freebsd-13-stable/sys/contrib/openzfs/lib/libspl/ |
H A D | Makefile.am | 16 strlcpy.c \
|
/freebsd-13-stable/sys/contrib/openzfs/lib/libzfs_core/ |
H A D | libzfs_core.c | 189 (void) strlcpy(zc.zc_name, name, sizeof (zc.zc_name)); 301 (void) strlcpy(zc.zc_name, fsname, sizeof (zc.zc_name)); 305 (void) strlcpy(snapnamebuf, zc.zc_string, snapnamelen); 319 (void) strlcpy(zc.zc_name, source, sizeof (zc.zc_name)); 320 (void) strlcpy(zc.zc_value, target, sizeof (zc.zc_value)); 365 (void) strlcpy(pool, nvpair_name(elem), sizeof (pool)); 415 (void) strlcpy(pool, nvpair_name(elem), sizeof (pool)); 440 (void) strlcpy(fs, firstsnap, sizeof (fs)); 470 (void) strlcpy(zc.zc_name, dataset, sizeof (zc.zc_name)); 525 (void) strlcpy(poo [all...] |
/freebsd-13-stable/contrib/netbsd-tests/modules/k_helper/ |
H A D | k_helper.c | 136 strlcpy(prop_str_val, msg, sizeof(prop_str_val)); 141 strlcpy(prop_str_val, "", sizeof(prop_str_val));
|
/freebsd-13-stable/tests/sys/fs/fusefs/ |
H A D | readlink.cc | 94 strlcpy(out.body.str, dst, sizeof(out.body.str)); 114 strlcpy(out.body.str, dst, sizeof(out.body.str));
|
/freebsd-13-stable/usr.sbin/ypldap/ |
H A D | parse.y | 189 if (strlcpy(idm->idm_binddn, $2, 200 if (strlcpy(idm->idm_bindcred, $2, 210 if (strlcpy(idm->idm_basedn, $2, 220 if(strlcpy(idm->idm_groupdn, $2, 230 if (strlcpy(idm->idm_filters[$1], $3, 240 if (strlcpy(idm->idm_attrs[$2], $5, 250 if (strlcpy(idm->idm_attrs[$3], $4, 261 if (strlcpy(idm->idm_attrs[$2], $5, 278 if (strlcpy(idm->idm_name, $2, 298 if (strlcpy(con [all...] |
/freebsd-13-stable/lib/libc/iconv/ |
H A D | citrus_iconv.c | 299 strlcpy(realsrc, _lookup_alias(path, src, buf, (size_t)PATH_MAX, 301 strlcpy(realdst, _lookup_alias(path, dst, buf, (size_t)PATH_MAX, 304 strlcpy(realsrc, src, (size_t)PATH_MAX); 305 strlcpy(realdst, dst, (size_t)PATH_MAX);
|