Lines Matching refs:strlcpy
313 if (strlcpy(li->username, pw->pw_name, sizeof(li->username)) >= in login_get_lastlog()
380 strlcpy(li->username, username, sizeof(li->username)); in login_init_entry()
390 strlcpy(li->hostname, hostname, sizeof(li->hostname)); in login_init_entry()
564 strlcpy(dst, src, dstsize); in line_fullname()
566 strlcpy(dst, "/dev/", dstsize); in line_fullname()
578 strlcpy(dst, src + 5, dstsize); in line_stripname()
580 strlcpy(dst, src, dstsize); in line_stripname()
1230 strlcpy(li->hostname, ut.ut_host, in wtmp_get_entry()
1392 strlcpy(li->hostname, utx.ut_host, in wtmpx_get_entry()
1489 strlcpy(lastlog_file, LASTLOG_FILE, sizeof(lastlog_file)); in lastlog_openseek()
1543 strlcpy(last.ll_host, li->hostname, in lastlog_write_entry()
1578 strlcpy(li->hostname, ll->ll_host, in lastlog_get_entry()
1603 strlcpy(li->hostname, last.ll_host, in lastlog_get_entry()
1640 strlcpy(li->hostname, utx->ut_host, in utmpx_get_entry()
1691 strlcpy(ut.ut_line, "ssh:notty", sizeof(ut.ut_line)); in record_failed_login()