Searched refs:strlcpy (Results 126 - 150 of 1010) sorted by relevance

1234567891011>>

/freebsd-11.0-release/usr.bin/ctags/
H A Dlisp.c100 (void)strlcpy(tok, lbp, sizeof(tok)); /* possible trunc */
/freebsd-11.0-release/usr.sbin/fstyp/
H A Dufs.c102 strlcpy(label, fs->fs_volname, labelsize);
H A Dzfs.c70 strlcpy(label, zpool_name, labelsize);
/freebsd-11.0-release/usr.sbin/ngctl/
H A Dwrite.c111 strlcpy(sag->sg_data, hook, sizeof(sagbuf) - 2);
/freebsd-11.0-release/usr.sbin/ntp/libntpevent/
H A DMakefile12 select.c signal.c strlcpy.c
/freebsd-11.0-release/tools/tools/vxge/
H A Dvxge_log.c58 strlcpy(szName, reginfo_registers[i].name,
101 strlcpy(szName, reginfo_legacy[i].name, sizeof(szName));
143 strlcpy(szName, reginfo_toc[i].name, sizeof(szName));
185 strlcpy(szName, reginfo_pcicfgmgmt[i].name,
272 strlcpy(szName, reginfo_vpmgmt[i].name, sizeof(szName));
316 strlcpy(szName, reginfo_mrpcim[i].name, sizeof(szName));
360 strlcpy(szName, reginfo_srpcim[i].name, sizeof(szName));
/freebsd-11.0-release/sys/fs/autofs/
H A Dautofs.c436 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,
583 strlcpy(adr->adr_from, ar->ar_from, sizeof(adr->adr_from));
584 strlcpy(adr->adr_path, ar->ar_path, sizeof(adr->adr_path));
585 strlcpy(adr->adr_prefix, ar->ar_prefix, sizeof(adr->adr_prefix));
586 strlcpy(adr->adr_key, ar->ar_key, sizeof(adr->adr_key));
587 strlcpy(ad
[all...]
/freebsd-11.0-release/sbin/ifconfig/
H A Difbridge.c117 strlcpy(ifd.ifd_name, ifr.ifr_name, sizeof(ifd.ifd_name));
130 strlcpy(req.ifbr_ifsname, ifs, sizeof(req.ifbr_ifsname));
296 strlcpy(req.ifbr_ifsname, val, sizeof(req.ifbr_ifsname));
307 strlcpy(req.ifbr_ifsname, val, sizeof(req.ifbr_ifsname));
360 strlcpy(req.ifbr_ifsname, val, sizeof(req.ifbr_ifsname));
371 strlcpy(req.ifbr_ifsname, val, sizeof(req.ifbr_ifsname));
468 strlcpy(req.ifba_ifsname, val, sizeof(req.ifba_ifsname));
626 strlcpy(req.ifbr_ifsname, ifn, sizeof(req.ifbr_ifsname));
645 strlcpy(req.ifbr_ifsname, ifn, sizeof(req.ifbr_ifsname));
664 strlcpy(re
[all...]
H A Difconfig.c384 strlcpy(options, "f:adklmnuv", sizeof(options));
481 iflen = strlcpy(name, ifname, sizeof(name));
495 iflen = strlcpy(name, ifname, sizeof(name));
530 strlcpy(paifr.ifr_name, ifa->ifa_name, sizeof(paifr.ifr_name));
544 iflen = strlcpy(name, ifa->ifa_name, sizeof(name));
730 strlcpy(ifr.ifr_name, name, sizeof ifr.ifr_name);
851 strlcpy(((struct ifreq *)afp->af_ridreq)->ifr_name, name,
869 strlcpy(((struct ifreq *)afp->af_addreq)->ifr_name, name,
1022 (void) strlcpy(my_ifr.ifr_name, name, sizeof(my_ifr.ifr_name));
1066 strlcpy(if
[all...]
/freebsd-11.0-release/crypto/heimdal/lib/kadm5/
H A Dpassword_quality.c58 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-11.0-release/sys/cddl/dev/sdt/
H A Dsdt.c158 len = strlcpy(mod, probe->sdtp_lf->filename, sizeof(mod));
162 strlcpy(mod, probe->mod, sizeof(mod));
170 strlcpy(func, probe->func, sizeof(func));
245 strlcpy(desc->dtargd_native, argtype->type,
248 strlcpy(desc->dtargd_xlate, argtype->xtype,
/freebsd-11.0-release/sbin/hastd/
H A Dproto_uds.c81 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-11.0-release/usr.sbin/rtsold/
H A Dif.c85 strlcpy(ifr.ifr_name, name, sizeof(ifr.ifr_name));
87 strlcpy(nd.ifname, name, sizeof(nd.ifname));
183 strlcpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name));
199 strlcpy(ifmr.ifm_name, ifname, sizeof(ifmr.ifm_name));
399 strlcpy(ifr6.ifr_name, name, sizeof(ifr6.ifr_name));
/freebsd-11.0-release/crypto/openssh/
H A Dloginrec.c316 if (strlcpy(li->username, pw->pw_name, sizeof(li->username)) >=
383 strlcpy(li->username, username, sizeof(li->username));
393 strlcpy(li->hostname, hostname, sizeof(li->hostname));
567 strlcpy(dst, src, dstsize);
569 strlcpy(dst, "/dev/", dstsize);
581 strlcpy(dst, src + 5, dstsize);
583 strlcpy(dst, src, dstsize);
617 /* note: _don't_ change this to strlcpy */
1233 strlcpy(li->hostname, ut.ut_host,
1395 strlcpy(l
[all...]
/freebsd-11.0-release/cddl/contrib/opensolaris/lib/libzfs/common/
H A Dlibzfs_dataset.c302 (void) strlcpy(pool_name, zhp->zfs_name, len);
333 (void) strlcpy(zc->zc_name, zhp->zfs_name, sizeof (zc->zc_name));
361 (void) strlcpy(zc.zc_name, zhp->zfs_name, sizeof (zc.zc_name));
486 (void) strlcpy(zhp->zfs_name, path, sizeof (zhp->zfs_name));
513 (void) strlcpy(zhp->zfs_name, zc->zc_name, sizeof (zhp->zfs_name));
530 (void) strlcpy(zhp->zfs_name, zc->zc_name, sizeof (zhp->zfs_name));
547 (void) strlcpy(zhp->zfs_name, zhp_orig->zfs_name,
596 (void) strlcpy(fsname, path, sizeof (fsname));
627 (void) strlcpy(zhp->zfs_name, path, sizeof (zhp->zfs_name));
693 (void) strlcpy(zh
[all...]
/freebsd-11.0-release/usr.bin/iscsictl/
H A Discsictl.c316 strlcpy(conf->isc_initiator, targ->t_initiator_name,
319 strlcpy(conf->isc_initiator_addr, targ->t_initiator_address,
322 strlcpy(conf->isc_initiator_alias, targ->t_initiator_alias,
325 strlcpy(conf->isc_target, targ->t_name,
328 strlcpy(conf->isc_target_addr, targ->t_address,
331 strlcpy(conf->isc_user, targ->t_user,
334 strlcpy(conf->isc_secret, targ->t_secret,
337 strlcpy(conf->isc_mutual_user, targ->t_mutual_user,
340 strlcpy(conf->isc_mutual_secret, targ->t_mutual_secret,
349 strlcpy(con
[all...]
/freebsd-11.0-release/contrib/tnftp/src/
H A Dfetch.c183 (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 Dutil.c156 (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-11.0-release/lib/libc/net/
H A Dgetnameinfo.c202 strlcpy(serv, sp->s_name, servlen);
207 strlcpy(serv, numserv, servlen);
280 strlcpy(host, numaddr, hostlen);
303 strlcpy(host, hp->h_name, hostlen);
346 strlcpy(host, numaddr, hostlen);
527 strlcpy(host, (const char *)sa + afd->a_off, pathlen + 1);
/freebsd-11.0-release/lib/libc/string/
H A DMakefile.inc16 strcspn.c strdup.c strerror.c strlcat.c strlcpy.c strlen.c strmode.c \
36 string.3 strlcpy.3 strlen.3 strmode.3 strpbrk.3 strsep.3 \
64 MLINKS+=strlcpy.3 strlcat.3
/freebsd-11.0-release/crypto/heimdal/appl/ftp/ftp/
H A Dftp.c79 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-11.0-release/contrib/hyperv/tools/
H A Dhv_kvp_daemon.c788 strlcpy(buffer, "inet_ntop failed\n", length);
792 strlcpy(buffer, tmp, length);
834 strlcpy(buffer, "getifaddrs failed\n", buffer_length);
916 strlcpy(sn_str, cidr_mask, sn_str_length);
1080 strlcpy(buffer, "getaddrinfo failed\n", length);
1083 strlcpy(buffer, info->ai_canonname, length);
1251 strlcpy(key_value, lic_version, HV_KVP_EXCHANGE_MAX_VALUE_SIZE);
1267 strlcpy(key_value, os_build, HV_KVP_EXCHANGE_MAX_VALUE_SIZE);
1272 strlcpy(key_value, os_name, HV_KVP_EXCHANGE_MAX_VALUE_SIZE);
1277 strlcpy(key_valu
[all...]
/freebsd-11.0-release/crypto/heimdal/appl/ftp/ftpd/
H A Dpopen.c89 strlcpy(home, pwd->pw_dir, sizeof(home));
92 strlcpy(newpath, path, sizeof(newpath));
/freebsd-11.0-release/crypto/heimdal/appl/telnet/libtelnet/
H A Dkerberos5.c713 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);
/freebsd-11.0-release/contrib/openbsm/bin/auditdistd/
H A Dproto_tcp.c52 #include <compat/strlcpy.h>
166 if (strlcpy(iporhost, addr, size) >= size)
172 (void)strlcpy(iporhost, addr + 1, size);
177 (void)strlcpy(iporhost, addr, size);
650 PJDLOG_VERIFY(strlcpy(addr, "N/A", size) < size);
656 strlcpy(addr, "tcp://", size);
674 PJDLOG_VERIFY(strlcpy(addr, "N/A", size) < size);
680 strlcpy(addr, "tcp://", size);

Completed in 171 milliseconds

1234567891011>>