| /freebsd-12.1/contrib/opie/libopie/ |
| H A D | logwtmp.c | 148 strncpy(ut.ut_id, id, sizeof(ut.ut_id)); 153 strncpy(ut.ut_line, line, sizeof(ut.ut_line)); 154 strncpy(ut.ut_name, name, sizeof(ut.ut_name)); 156 strncpy(ut.ut_host, host, sizeof(ut.ut_host)); 170 strncpy(utx.ut_line, line, sizeof(utx.ut_line)); 171 strncpy(utx.ut_name, name, sizeof(utx.ut_name)); 172 strncpy(utx.ut_host, host, sizeof(utx.ut_host)); 180 strncpy(utx.ut_id, id, sizeof(utx.ut_id));
|
| H A D | login.c | 59 strncpy(u.ut_line, line + 5, sizeof(u.ut_line)); 61 strncpy(u.ut_line, line, sizeof(u.ut_line)); 68 strncpy(id, u.ut_id, sizeof(u.ut_id)); 80 strncpy(u.ut_name, name, sizeof(u.ut_name)); 86 strncpy(u.ut_host, host, sizeof(u.ut_host));
|
| H A D | getutmpentry.c | 55 strncpy(u.ut_line, line + 5, sizeof(u.ut_line)); 62 strncpy(u.ut_line + 4, line + 5, sizeof(u.ut_line) - 4); 69 strncpy(u.ut_line, line, sizeof(u.ut_line));
|
| /freebsd-12.1/sys/i386/ibcs2/ |
| H A D | ibcs2_xenix.c | 168 strncpy(ibcs2_sco_uname.sysname, ostype, in xenix_utsname() 172 strncpy(ibcs2_sco_uname.release, osrelease, in xenix_utsname() 174 strncpy(ibcs2_sco_uname.kernelid, version, in xenix_utsname() 176 strncpy(ibcs2_sco_uname.machine, machine, in xenix_utsname() 178 strncpy(ibcs2_sco_uname.bustype, "ISA/EISA", in xenix_utsname() 180 strncpy(ibcs2_sco_uname.sysserial, "no charge", in xenix_utsname() 182 strncpy(ibcs2_sco_uname.numusers, "unlim", in xenix_utsname()
|
| H A D | ibcs2_stat.c | 216 strncpy(sut.sysname, 218 strncpy(sut.release, 220 strncpy(sut.version, 227 strncpy(sut.nodename, machine_name, sizeof(sut.nodename) - 1); 228 strncpy(sut.machine, machine, sizeof(sut.machine) - 1);
|
| /freebsd-12.1/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-12.1/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-12.1/lib/lib80211/ |
| H A D | lib80211_ioctl.c | 105 (void) strncpy(ireq.i_name, name, sizeof(ireq.i_name)); in lib80211_get80211() 118 (void) strncpy(ireq.i_name, name, sizeof(ireq.i_name)); in lib80211_get80211len() 135 (void) strncpy(ireq.i_name, name, sizeof(ireq.i_name)); in lib80211_get80211val() 149 (void) strncpy(ireq.i_name, name, sizeof(ireq.i_name)); in lib80211_set80211()
|
| /freebsd-12.1/contrib/telnet/libtelnet/ |
| H A D | kerberos.c | 167 strncpy(instance, realm, sizeof(instance)); in kerberos4_send() 426 strncpy((char *)buf, " REJECT ", buflen); in kerberos4_printsub() 430 strncpy((char *)buf, " ACCEPT ", buflen); in kerberos4_printsub() 443 strncpy((char *)buf, " AUTH", buflen); in kerberos4_printsub() 447 strncpy((char *)buf, " CHALLENGE", buflen); in kerberos4_printsub() 451 strncpy((char *)buf, " RESPONSE", buflen); in kerberos4_printsub() 456 strncpy((char *)buf, lbuf, buflen); in kerberos4_printsub() 461 strncpy((char *)buf, lbuf, buflen); in kerberos4_printsub()
|
| H A D | krb4encpwd.c | 362 strncpy((char *)buf, " REJECT ", buflen); 366 strncpy((char *)buf, " ACCEPT ", buflen); 379 strncpy((char *)buf, " AUTH", buflen); 383 strncpy((char *)buf, " CHALLENGE", buflen); 387 strncpy((char *)buf, " ACK", buflen); 392 strncpy((char *)buf, lbuf, buflen); 397 strncpy((char *)buf, lbuf, buflen);
|
| H A D | sra.c | 369 strncpy((char *)buf, " CONTINUE ", buflen); in sra_printsub() 373 strncpy((char *)buf, " REJECT ", buflen); in sra_printsub() 377 strncpy((char *)buf, " ACCEPT ", buflen); in sra_printsub() 391 strncpy((char *)buf, " KEY ", buflen); in sra_printsub() 395 strncpy((char *)buf, " USER ", buflen); in sra_printsub() 399 strncpy((char *)buf, " PASS ", buflen); in sra_printsub() 404 strncpy((char *)buf, lbuf, buflen); in sra_printsub() 409 strncpy((char *)buf, lbuf, buflen); in sra_printsub()
|
| H A D | rsaencpwd.c | 413 strncpy((char *)buf, " REJECT ", buflen); 417 strncpy((char *)buf, " ACCEPT ", buflen); 430 strncpy((char *)buf, " AUTH", buflen); 434 strncpy((char *)buf, " CHALLENGEKEY", buflen); 439 strncpy((char *)buf, lbuf, buflen); 444 strncpy((char *)buf, lbuf, buflen);
|
| /freebsd-12.1/contrib/gcc/config/ |
| H A D | darwin-c.c | 289 strncpy (&frname[0], dir->name, dir->len); in framework_construct_pathname() 293 strncpy (&frname[frname_len], fname, fname_len); in framework_construct_pathname() 295 strncpy (&frname[frname_len], ".framework/", strlen (".framework/")); in framework_construct_pathname() 321 strncpy (&frname[frname_len], in framework_construct_pathname() 383 strncpy (&sfrname[0], pname, sfrname_len); in find_subframework_file() 385 strncpy (&sfrname[sfrname_len], "Frameworks/", strlen ("Frameworks/")); in find_subframework_file() 388 strncpy (&sfrname[sfrname_len], fname, fname_len); in find_subframework_file() 391 strncpy (&sfrname[sfrname_len], ".framework/", strlen (".framework/")); in find_subframework_file() 397 strncpy (&sfrname[sfrname_len], in find_subframework_file()
|
| /freebsd-12.1/libexec/ftpd/ |
| H A D | logwtmp.c | 64 (void)strncpy(ut.ut_user, user, sizeof(ut.ut_user)); in ftpd_logwtmp() 75 (void)strncpy(ut.ut_id, id, sizeof(ut.ut_id)); in ftpd_logwtmp() 76 (void)strncpy(ut.ut_line, "ftpd", sizeof(ut.ut_line)); in ftpd_logwtmp()
|
| /freebsd-12.1/usr.bin/mkimg/ |
| H A D | apm.c | 84 strncpy(ent->ent_type, APM_ENT_TYPE_SELF, sizeof(ent->ent_type)); in apm_write() 85 strncpy(ent->ent_name, "Apple", sizeof(ent->ent_name)); in apm_write() 93 strncpy(ent->ent_type, ALIAS_TYPE2PTR(part->type), in apm_write() 96 strncpy(ent->ent_name, part->label, in apm_write()
|
| /freebsd-12.1/contrib/ipfilter/tools/ |
| H A D | ippool_y.y | 126 strncpy(ipht.iph_name, $3, 191 { strncpy(iplo.ipo_name, $4, 199 { strncpy(ipht.iph_name, $4, 211 strncpy(e->ipe_group, 235 strncpy(tmp, $3, FR_GROUPLEN); 296 strncpy($$->ipe_group, $3, 433 strncpy(ipld.ipld_name, $6, 445 strncpy(iplo.ipo_name, $6, 456 strncpy(iplo.ipo_name, $3, 469 strncpy(ipht.iph_name, $6, [all …]
|
| /freebsd-12.1/lib/libulog/ |
| H A D | ulog_login.c | 55 strncpy(utx->ut_line, line, sizeof utx->ut_line); in ulog_fill() 72 strncpy(utx.ut_user, user, sizeof utx.ut_user); in ulog_login() 74 strncpy(utx.ut_host, host, sizeof utx.ut_host); in ulog_login()
|
| /freebsd-12.1/contrib/tcsh/ |
| H A D | tc.who.c | 355 (void) strncpy(wp->who_new, utmp.ut_name, UTNAMLEN); 360 (void) strncpy(wp->who_host, host, UTHOSTLEN); 364 (void) strncpy(wp->who_host, utmp.ut_host, UTHOSTLEN); 376 (void) strncpy(wpnew->who_tty, utmp.ut_line, UTLINLEN); 381 (void) strncpy(wpnew->who_host, host, UTHOSTLEN); 385 (void) strncpy(wpnew->who_host, utmp.ut_host, UTHOSTLEN); 397 (void) strncpy(wpnew->who_new, utmp.ut_name, UTNAMLEN); 690 (void) strncpy(wp->who_new, name, UTNAMLEN); 700 (void) strncpy(wpnew->who_tty, mach_nm, UTLINLEN); 705 (void) strncpy(wpnew->who_new, name, UTNAMLEN);
|
| /freebsd-12.1/lib/ncurses/ncurses/ |
| H A D | termcap.c | 135 strncpy(pathbuf, termpath, PBUFSIZ); in _nc_read_termcap_entry() 138 strncpy(pathbuf, home, PBUFSIZ - 1); /* $HOME first */ in _nc_read_termcap_entry() 143 strncpy(p, _PATH_DEF, PBUFSIZ - (p - pathbuf)); in _nc_read_termcap_entry() 147 strncpy(pathbuf, cp, PBUFSIZ); /* still can be tokenized */ in _nc_read_termcap_entry()
|
| /freebsd-12.1/contrib/ipfilter/lib/ |
| H A D | load_pool.c | 33 strncpy(op.iplo_name, plp->ipo_name, sizeof(op.iplo_name)); 38 strncpy(pool.ipo_name, plp->ipo_name, sizeof(pool.ipo_name)); 52 strncpy(pool.ipo_name, op.iplo_name, sizeof(pool.ipo_name));
|
| /freebsd-12.1/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() 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() 1467 strncpy(wtmp.ut_name, "", sizeof(wtmp.ut_name)); in rmut() 1469 strncpy(wtmp.ut_host, "", sizeof(wtmp.ut_host)); in rmut() 1511 strncpy(u->ut_name, "", sizeof(u->ut_name)); in rmut() 1513 strncpy(u->ut_host, "", sizeof(u->ut_host)); in rmut() 1526 strncpy(wtmp.ut_name, "", sizeof(wtmp.ut_name)); in rmut() [all …]
|
| /freebsd-12.1/sbin/spppcontrol/ |
| H A D | spppcontrol.c | 84 strncpy(ifr.ifr_name, ifname, sizeof ifr.ifr_name); in main() 132 strncpy(spr.defs.myauth.name, argv[0] + off, in main() 136 strncpy(spr.defs.myauth.secret, argv[0] + off, in main() 149 strncpy(spr.defs.hisauth.name, argv[0] + off, in main() 153 strncpy(spr.defs.hisauth.secret, argv[0] + off, in main()
|
| /freebsd-12.1/usr.sbin/wpa/wpa_supplicant/ |
| H A D | Packet32.c | 138 strncpy(ireq.i_name, iface, sizeof (ifr.ifr_name)); in PacketOpenAdapter() 149 strncpy(ifr.ifr_name, iface, sizeof (ifr.ifr_name)); in PacketOpenAdapter() 288 strncpy(plist, sdl->sdl_data, sdl->sdl_nlen); in PacketGetAdapterNames() 321 strncpy(plist, sdl->sdl_data, sdl->sdl_nlen); in PacketGetAdapterNames() 351 strncpy(ireq.i_name, a->name, sizeof (ifr.ifr_name)); in PacketCloseAdapter() 357 strncpy(ifr.ifr_name, a->name, sizeof (ifr.ifr_name)); in PacketCloseAdapter()
|
| /freebsd-12.1/lib/libutil/ |
| H A D | realhostname.c | 76 strncpy(host, trimmed, hsize); in realhostname() 83 strncpy(host, inet_ntoa(*ip), hsize); in realhostname() 186 strncpy(host, buf, hsize); in realhostname_sa() 196 strncpy(host, buf, hsize); in realhostname_sa()
|