Searched refs:strlcpy (Results 101 - 125 of 1237) sorted by relevance

1234567891011>>

/freebsd-13-stable/lib/libutil/
H A Drealhostname.c61 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 Dfake-rfc2553.c57 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 Dbsm_class.c43 #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 Dg_label_msdosfs.c114 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 Dgeom_vinum_move.c165 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 Dfake-rfc2553.c58 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 Dsetproctitle.c140 strlcpy(buf, __progname, sizeof(buf));
161 len = strlcpy(argv_start, ptitle, argv_env_len);
H A Dxcrypt.c82 strlcpy(salt, "xx", sizeof(salt));
89 strlcpy(salt, passwd, MIN(typelen, sizeof(salt)));
/freebsd-13-stable/usr.sbin/fstyp/
H A Dhammer.c80 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 Dpw.c123 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 Dwake.c92 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 Drsaencpwd.c263 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 Dproto_uds.c46 #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 Db-strl.c47 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 Dutmp_login.c51 strlcpy (dst, hostname, dst_sz);
59 strlcpy (dst, hostname, dst_sz);
/freebsd-13-stable/contrib/tcpdump/
H A Dprint-sunrpc.c182 strlcpy(dstid, "sunrpc", sizeof(dstid));
247 strlcpy(buf, rp->r_name, sizeof(buf));
/freebsd-13-stable/sbin/ifconfig/
H A Difgre.c79 strlcpy(ifr.ifr_name, name, sizeof (ifr.ifr_name));
91 strlcpy(ifr.ifr_name, name, sizeof (ifr.ifr_name));
H A Difconfig.c441 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 Dioctl.c243 (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 DMakefile.am16 strlcpy.c \
/freebsd-13-stable/sys/contrib/openzfs/lib/libzfs_core/
H A Dlibzfs_core.c189 (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 Dk_helper.c136 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 Dreadlink.cc94 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 Dparse.y189 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 Dcitrus_iconv.c299 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);

Completed in 276 milliseconds

1234567891011>>