/freebsd/tests/sys/netgraph/ |
H A D | util.c | 76 strncpy(c.ourhook, hook1, sizeof(c.ourhook)); in _ng_connect() 77 strncpy(c.peerhook, hook2, sizeof(c.peerhook)); in _ng_connect() 78 strncpy(c.path, path2, sizeof(c.path)); in _ng_connect() 92 strncpy(p.ourhook, hook1, sizeof(p.ourhook)); in _ng_mkpeer() 93 strncpy(p.peerhook, hook2, sizeof(p.peerhook)); in _ng_mkpeer() 94 strncpy(p.type, type, sizeof(p.type)); in _ng_mkpeer() 107 strncpy(h.ourhook, hook, sizeof(h.ourhook)); in _ng_rmhook() 120 strncpy(n.name, name, sizeof(n.name)); in _ng_name()
|
/freebsd/crypto/heimdal/appl/ftp/ftpd/ |
H A D | logwtmp.c | 132 strncpy(ut.ut_line, line, sizeof(ut.ut_line)); in ftpd_logwtmp_wtmp() 133 strncpy(ut.ut_name, name, sizeof(ut.ut_name)); in ftpd_logwtmp_wtmp() 138 strncpy(ut.ut_host, host, sizeof(ut.ut_host)); in ftpd_logwtmp_wtmp() 144 strncpy(utx.ut_line, line, sizeof(utx.ut_line)); in ftpd_logwtmp_wtmp() 145 strncpy(utx.ut_user, name, sizeof(utx.ut_user)); in ftpd_logwtmp_wtmp() 146 strncpy(utx.ut_host, host, sizeof(utx.ut_host)); in ftpd_logwtmp_wtmp()
|
/freebsd/crypto/heimdal/appl/login/ |
H A D | utmp_login.c | 66 strncpy (dst, hostname, dst_sz); in shrink_hostname() 75 strncpy (dst, hostname, dst_sz); in shrink_hostname() 92 strncpy(utmp->ut_line, ttyx, sizeof(utmp->ut_line)); in prepare_utmp() 93 strncpy(utmp->ut_name, username, sizeof(utmp->ut_name)); in prepare_utmp() 96 strncpy(utmp->ut_user, username, sizeof(utmp->ut_user)); in prepare_utmp() 121 strncpy(utmp->ut_id, make_id(ttyx), sizeof(utmp->ut_id)); in prepare_utmp()
|
H A D | utmpx_login.c | 35 strncpy(ut->ut_line, clean_tty, sizeof(ut->ut_line)); in utmpx_update() 37 strncpy(ut->ut_id, make_id(clean_tty), sizeof(ut->ut_id)); in utmpx_update() 39 strncpy(ut->ut_user, user, sizeof(ut->ut_user)); in utmpx_update()
|
/freebsd/lib/libc/string/ |
H A D | strncpy.c | 37 #undef strncpy /* FORTIFY_SOURCE */ 44 __weak_reference(__strncpy, strncpy); 51 strncpy in __strncpy()
|
/freebsd/lib/lib80211/ |
H A D | lib80211_ioctl.c | 103 (void) strncpy(ireq.i_name, name, sizeof(ireq.i_name)); in lib80211_get80211() 116 (void) strncpy(ireq.i_name, name, sizeof(ireq.i_name)); in lib80211_get80211len() 133 (void) strncpy(ireq.i_name, name, sizeof(ireq.i_name)); in lib80211_get80211val() 147 (void) strncpy(ireq.i_name, name, sizeof(ireq.i_name)); in lib80211_set80211()
|
/freebsd/contrib/telnet/libtelnet/ |
H A D | kerberos.c | 163 strncpy(instance, realm, sizeof(instance)); in kerberos4_send() 422 strncpy((char *)buf, " REJECT ", buflen); in kerberos4_printsub() 426 strncpy((char *)buf, " ACCEPT ", buflen); in kerberos4_printsub() 439 strncpy((char *)buf, " AUTH", buflen); in kerberos4_printsub() 443 strncpy((char *)buf, " CHALLENGE", buflen); in kerberos4_printsub() 447 strncpy((char *)buf, " RESPONSE", buflen); in kerberos4_printsub() 452 strncpy((char *)buf, lbuf, buflen); in kerberos4_printsub() 457 strncpy((char *)buf, lbuf, buflen); in kerberos4_printsub()
|
H A D | krb4encpwd.c | 358 strncpy((char *)buf, " REJECT ", buflen); 362 strncpy((char *)buf, " ACCEPT ", buflen); 375 strncpy((char *)buf, " AUTH", buflen); 379 strncpy((char *)buf, " CHALLENGE", buflen); 383 strncpy((char *)buf, " ACK", buflen); 388 strncpy((char *)buf, lbuf, buflen); 393 strncpy((char *)buf, lbuf, buflen);
|
H A D | sra.c | 373 strncpy((char *)buf, " CONTINUE ", buflen); in sra_printsub() 377 strncpy((char *)buf, " REJECT ", buflen); in sra_printsub() 381 strncpy((char *)buf, " ACCEPT ", buflen); in sra_printsub() 395 strncpy((char *)buf, " KEY ", buflen); in sra_printsub() 399 strncpy((char *)buf, " USER ", buflen); in sra_printsub() 403 strncpy((char *)buf, " PASS ", buflen); in sra_printsub() 408 strncpy((char *)buf, lbuf, buflen); in sra_printsub() 413 strncpy((char *)buf, lbuf, buflen); in sra_printsub()
|
H A D | rsaencpwd.c | 409 strncpy((char *)buf, " REJECT ", buflen); 413 strncpy((char *)buf, " ACCEPT ", buflen); 426 strncpy((char *)buf, " AUTH", buflen); 430 strncpy((char *)buf, " CHALLENGEKEY", buflen); 435 strncpy((char *)buf, lbuf, buflen); 440 strncpy((char *)buf, lbuf, buflen);
|
/freebsd/libexec/ftpd/ |
H A D | logwtmp.c | 55 (void)strncpy(ut.ut_user, user, sizeof(ut.ut_user)); in ftpd_logwtmp() 66 (void)strncpy(ut.ut_id, id, sizeof(ut.ut_id)); in ftpd_logwtmp() 67 (void)strncpy(ut.ut_line, "ftpd", sizeof(ut.ut_line)); in ftpd_logwtmp()
|
/freebsd/usr.bin/mkimg/ |
H A D | apm.c | 82 strncpy(ent->ent_type, APM_ENT_TYPE_SELF, sizeof(ent->ent_type)); in apm_write() 83 strncpy(ent->ent_name, "Apple", sizeof(ent->ent_name)); in apm_write() 91 strncpy(ent->ent_type, ALIAS_TYPE2PTR(part->type), in apm_write() 94 strncpy(ent->ent_name, part->label, in apm_write()
|
/freebsd/crypto/krb5/src/lib/kadm5/ |
H A D | chpass_util.c | 93 strncpy(msg_ret, string_text(CHPASS_UTIL_NEW_PASSWORD_MISMATCH), in _kadm5_chpass_principal_util() 110 strncpy(msg_ret, string_text(CHPASS_UTIL_NO_PASSWORD_READ), msg_len - 1); in _kadm5_chpass_principal_util() 127 strncpy(msg_ret, string_text(CHPASS_UTIL_PASSWORD_CHANGED), msg_len - 1); in _kadm5_chpass_principal_util() 146 strncpy(msg_ret, string_text(CHPASS_UTIL_PASSWORD_REUSE), msg_len - 1); in _kadm5_chpass_principal_util() 152 strncpy(msg_ret, string_text(CHPASS_UTIL_PASSWORD_IN_DICTIONARY), in _kadm5_chpass_principal_util()
|
/freebsd/crypto/krb5/src/kdc/ |
H A D | kdc_transit.c | 231 strncpy(exp, current+1, sizeof(exp) - 1); in add_to_transited() 235 strncpy(exp, prev, sizeof(exp) - 1); in add_to_transited() 244 strncpy(exp, current, sizeof(exp) - 1); in add_to_transited() 253 strncpy(exp, current, sizeof(exp) - 1); in add_to_transited() 383 strncpy(prev, exp, sizeof(prev) - 1); in add_to_transited() 385 strncpy(current, next, sizeof(current) - 1); in add_to_transited()
|
/freebsd/lib/libulog/ |
H A D | ulog_login.c |
|
/freebsd/sbin/ipf/ippool/ |
H A D | ippool_y.y | 125 strncpy(ipht.iph_name, $3, 190 { strncpy(iplo.ipo_name, $4, 198 { strncpy(ipht.iph_name, $4, 210 strncpy(e->ipe_group, 223 | IPT_NAME '=' YY_STR { strncpy(poolname, $3, 234 strncpy(tmp, $3, FR_GROUPLEN); 295 strncpy($$->ipe_group, $3, 448 strncpy(ipld.ipld_name, $6, 460 strncpy(iplo.ipo_name, $6, 471 strncpy(iplo.ipo_name, $3, [all …]
|
/freebsd/sbin/ipf/libipf/ |
H A D | load_pool.c | 30 strncpy(op.iplo_name, plp->ipo_name, sizeof(op.iplo_name)); in load_pool() 35 strncpy(pool.ipo_name, plp->ipo_name, sizeof(pool.ipo_name)); in load_pool() 49 strncpy(pool.ipo_name, op.iplo_name, sizeof(pool.ipo_name)); in load_pool()
|
/freebsd/crypto/heimdal/appl/telnet/telnetd/ |
H A D | sys_term.c | 1159 strncpy(wtmp.ut_user, "LOGIN", sizeof(wtmp.ut_user)); in startslave() 1160 strncpy(wtmp.ut_host, utmp_host, sizeof(wtmp.ut_host)); in startslave() 1161 strncpy(wtmp.ut_line, clean_ttyname(line), sizeof(wtmp.ut_line)); in startslave() 1163 strncpy(wtmp.ut_id, wtmp.ut_line + 3, sizeof(wtmp.ut_id)); in startslave() 1299 strncpy(utmpx.ut_user, ".telnet", sizeof(utmpx.ut_user)); in start_login() 1300 strncpy(utmpx.ut_line, clean_tty, sizeof(utmpx.ut_line)); in start_login() 1302 strncpy(utmpx.ut_id, make_id(clean_tty), sizeof(utmpx.ut_id)); in start_login() 1427 strncpy(utmpx.ut_line, clean_tty, sizeof(utmpx.ut_line)); in rmut() 1466 strncpy(wtmp.ut_line, clean_tty, sizeof(wtmp.ut_line)); in rmut() 1467 strncpy(wtmp.ut_name, "", sizeof(wtmp.ut_name)); in rmut() [all …]
|
/freebsd/usr.sbin/bhyve/ |
H A D | qemu_loader.c | 91 strncpy(element->entry.alloc.name, name, QEMU_FWCFG_MAX_NAME); in qemu_loader_alloc() 122 strncpy(element->entry.add_checksum.name, name, QEMU_FWCFG_MAX_NAME); in qemu_loader_add_checksum() 150 strncpy(element->entry.add_pointer.dest_name, dest_name, in qemu_loader_add_pointer() 152 strncpy(element->entry.add_pointer.src_name, src_name, in qemu_loader_add_pointer() 178 strncpy(loader->fwcfg_name, fwcfg_name, QEMU_FWCFG_MAX_NAME); in qemu_loader_create()
|
/freebsd/lib/libutil/ |
H A D | realhostname.c | 73 strncpy(host, trimmed, hsize); in realhostname() 80 strncpy(host, inet_ntoa(*ip), hsize); in realhostname() 183 strncpy(host, buf, hsize); in realhostname_sa() 193 strncpy(host, buf, hsize); in realhostname_sa()
|
/freebsd/lib/libc/amd64/string/ |
H A D | strncpy.c | 32 #undef strncpy /* _FORTIFY_SOURCE */ 37 strncpy(char *restrict dst, const char *restrict src, size_t len) in strncpy() function
|
/freebsd/sys/dev/ahci/ |
H A D | ahciem.c | 398 strncpy(&buf[3], device_get_nameunit(dev), 7); in ahci_em_emulate_ses_on_led() 399 strncpy(&buf[10], "AHCI ", SID_VENDOR_SIZE); in ahci_em_emulate_ses_on_led() 400 strncpy(&buf[18], "SGPIO Enclosure ", SID_PRODUCT_SIZE); in ahci_em_emulate_ses_on_led() 401 strncpy(&buf[34], "2.00", SID_REVISION_SIZE); in ahci_em_emulate_ses_on_led() 402 strncpy(&buf[39], "0001", 4); in ahci_em_emulate_ses_on_led() 403 strncpy(&buf[43], "S-E-S ", 6); in ahci_em_emulate_ses_on_led() 404 strncpy(&buf[49], "2.00", 4); in ahci_em_emulate_ses_on_led() 443 strncpy(&ed->logical_id[1], device_get_nameunit(dev), 7); in ahci_em_emulate_ses_on_led() 444 strncpy(ed->vendor_id, "AHCI ", SID_VENDOR_SIZE); in ahci_em_emulate_ses_on_led() 445 strncpy(ed->product_id, "SGPIO Enclosure ", SID_PRODUCT_SIZE); in ahci_em_emulate_ses_on_led() [all …]
|
/freebsd/contrib/libpcap/ |
H A D | fad-glifc.c | 197 strncpy(ifrflags.lifr_name, ifrp->lifr_name, in pcapint_findalldevs_interfaces() 213 strncpy(ifrnetmask.lifr_name, ifrp->lifr_name, in pcapint_findalldevs_interfaces() 240 strncpy(ifrbroadaddr.lifr_name, ifrp->lifr_name, in pcapint_findalldevs_interfaces() 275 strncpy(ifrdstaddr.lifr_name, ifrp->lifr_name, in pcapint_findalldevs_interfaces()
|
H A D | fad-gifc.c | 264 strncpy(ifrflags.ifr_name, ifrp->ifr_name, in pcapint_findalldevs_interfaces() 280 strncpy(ifrnetmask.ifr_name, ifrp->ifr_name, in pcapint_findalldevs_interfaces() 310 strncpy(ifrbroadaddr.ifr_name, ifrp->ifr_name, in pcapint_findalldevs_interfaces() 349 strncpy(ifrdstaddr.ifr_name, ifrp->ifr_name, in pcapint_findalldevs_interfaces()
|
/freebsd/tools/tools/ath/common/ |
H A D | ctrl.c | 146 strncpy(ifr.ifr_name, req->ifname, sizeof (ifr.ifr_name)); in ath_driver_req_zero_stats() 167 strncpy(ifr.ifr_name, req->ifname, sizeof (ifr.ifr_name)); in ath_driver_req_fetch_stats() 189 strncpy(ifr.ifr_name, req->ifname, sizeof (ifr.ifr_name)); in ath_drive_req_fetch_aggr_stats()
|