Searched refs:strlcpy (Results 151 - 175 of 1186) sorted by relevance

1234567891011>>

/freebsd-12-stable/usr.sbin/ngctl/
H A Dwrite.c111 strlcpy(sag->sg_data, hook, sizeof(sagbuf) - 2);
/freebsd-12-stable/usr.sbin/ntp/libntpevent/
H A DMakefile12 select.c signal.c strlcpy.c
/freebsd-12-stable/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,
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-12-stable/sbin/ifconfig/
H A Difbridge.c92 strlcpy(ifd.ifd_name, ifr.ifr_name, sizeof(ifd.ifd_name));
105 strlcpy(req.ifbr_ifsname, ifs, sizeof(req.ifbr_ifsname));
271 strlcpy(req.ifbr_ifsname, val, sizeof(req.ifbr_ifsname));
282 strlcpy(req.ifbr_ifsname, val, sizeof(req.ifbr_ifsname));
335 strlcpy(req.ifbr_ifsname, val, sizeof(req.ifbr_ifsname));
346 strlcpy(req.ifbr_ifsname, val, sizeof(req.ifbr_ifsname));
443 strlcpy(req.ifba_ifsname, val, sizeof(req.ifba_ifsname));
601 strlcpy(req.ifbr_ifsname, ifn, sizeof(req.ifbr_ifsname));
620 strlcpy(req.ifbr_ifsname, ifn, sizeof(req.ifbr_ifsname));
639 strlcpy(re
[all...]
/freebsd-12-stable/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-12-stable/sys/cddl/dev/sdt/
H A Dsdt.c161 len = strlcpy(mod, probe->sdtp_lf->filename, sizeof(mod));
165 strlcpy(mod, probe->mod, sizeof(mod));
173 strlcpy(func, probe->func, sizeof(func));
260 strlcpy(desc->dtargd_native, argtype->type,
263 strlcpy(desc->dtargd_xlate, argtype->xtype,
/freebsd-12-stable/sbin/hastd/
H A Dproto_uds.c83 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-12-stable/crypto/openssh/
H A Dloginrec.c317 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-12-stable/usr.bin/iscsictl/
H A Discsictl.c319 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-12-stable/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...]
H A Dmain.c215 if (cp != NULL && strlcpy(netrc, cp, sizeof(netrc)) >= sizeof(netrc))
328 if (strlcpy(netrc, optarg, sizeof(netrc))
381 (void)strlcpy(cmdbuf, "-T", sizeof(cmdbuf));
471 if (strlcpy(netrc, localhome, sizeof(netrc)) >= sizeof(netrc) ||
490 (void)strlcpy(anonpass, anonuser, len);
553 (void)strlcpy(cmdbuf, getprogname(), sizeof(cmdbuf));
739 (void)strlcpy(cmdbuf, c->c_name, sizeof(cmdbuf));
1010 (void)strlcpy(cmdbuf, c->c_name, sizeof(cmdbuf));
/freebsd-12-stable/cddl/contrib/opensolaris/lib/libzfs/common/
H A Dlibzfs_dataset.c288 (void) strlcpy(pool_name, zhp->zfs_name, len);
319 (void) strlcpy(zc->zc_name, zhp->zfs_name, sizeof (zc->zc_name));
347 (void) strlcpy(zc.zc_name, zhp->zfs_name, sizeof (zc.zc_name));
474 (void) strlcpy(zhp->zfs_name, path, sizeof (zhp->zfs_name));
501 (void) strlcpy(zhp->zfs_name, zc->zc_name, sizeof (zhp->zfs_name));
518 (void) strlcpy(zhp->zfs_name, zc->zc_name, sizeof (zhp->zfs_name));
535 (void) strlcpy(zhp->zfs_name, zhp_orig->zfs_name,
584 (void) strlcpy(fsname, path, sizeof (fsname));
615 (void) strlcpy(zhp->zfs_name, path, sizeof (zhp->zfs_name));
758 (void) strlcpy(zh
[all...]
/freebsd-12-stable/lib/libc/net/
H A Dgetnameinfo.c214 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-12-stable/lib/libc/string/
H A DMakefile.inc16 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-12-stable/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-12-stable/contrib/hyperv/tools/
H A Dhv_kvp_daemon.c793 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-12-stable/crypto/heimdal/appl/ftp/ftpd/
H A Dpopen.c89 strlcpy(home, pwd->pw_dir, sizeof(home));
92 strlcpy(newpath, path, sizeof(newpath));
/freebsd-12-stable/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-12-stable/contrib/ntp/lib/isc/unix/
H A Ddir.c38 #include "ntp_stdlib.h" /* NTP change for strlcpy, strlcat */
76 strlcpy(dir->dirname, dirname, octets);
127 strlcpy(dir->entry.name, entry->d_name, octets);
/freebsd-12-stable/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);
/freebsd-12-stable/contrib/openbsm/libbsm/
H A Dbsm_user.c43 #include <compat/strlcpy.h>
77 strlcpy(u->au_name, username, AU_USER_NAME_MAX);
/freebsd-12-stable/contrib/unbound/compat/
H A Dinet_ntop.c102 strlcpy(dst, tmp, size);
214 strlcpy(dst, tmp, size);
/freebsd-12-stable/contrib/ldns/compat/
H A Dinet_ntop.c102 strlcpy(dst, tmp, size);
214 strlcpy(dst, tmp, size);
/freebsd-12-stable/cddl/compat/opensolaris/misc/
H A Dfsshare.c129 strlcpy(oldopts, shareopts, sizeof(oldopts));
165 if (strlcpy(tmpfile, file, sizeof(tmpfile)) >= sizeof(tmpfile))

Completed in 378 milliseconds

1234567891011>>