Home
last modified time | relevance | path

Searched refs:ll_host (Results 1 – 10 of 10) sorted by relevance

/netbsd/src/crypto/external/bsd/openssh/dist/
Dsshlogin.c101 if (bufsize > sizeof(llxp->ll_host) + 1) in get_last_login_time()
102 bufsize = sizeof(llxp->ll_host) + 1; in get_last_login_time()
103 strncpy(buf, llxp->ll_host, bufsize - 1); in get_last_login_time()
130 if (bufsize > sizeof(ll.ll_host) + 1) in get_last_login_time()
131 bufsize = sizeof(ll.ll_host) + 1; in get_last_login_time()
132 strncpy(buf, ll.ll_host, bufsize - 1); in get_last_login_time()
220 strncpy(ll.ll_host, host, sizeof(ll.ll_host)); in record_login()
257 strncpy(llx.ll_host, host, sizeof(llx.ll_host)); in record_login()
/netbsd/src/usr.bin/login/
Dcommon.c275 if (*ll.ll_host != '\0') in dolastlogx()
277 (int)sizeof(ll.ll_host), in dolastlogx()
278 ll.ll_host); in dolastlogx()
286 (void)strncpy(ll.ll_host, hostname, sizeof(ll.ll_host)); in dolastlogx()
288 (void)memset(ll.ll_host, '\0', sizeof(ll.ll_host)); in dolastlogx()
326 if (*ll.ll_host != '\0') in dolastlog()
328 (int)sizeof(ll.ll_host), in dolastlog()
329 ll.ll_host); in dolastlog()
340 (void)strncpy(ll.ll_host, hostname, sizeof(ll.ll_host)); in dolastlog()
/netbsd/src/lib/libpam/modules/pam_lastlog/
Dpam_lastlog.c310 domsg(pamh, (time_t)ll.ll_tv.tv_sec, ll.ll_host, in dolastlogx()
311 sizeof(ll.ll_host), ll.ll_line, in dolastlogx()
318 (void)strncpy(ll.ll_host, hostname, sizeof(ll.ll_host)); in dolastlogx()
320 (void)memset(ll.ll_host, 0, sizeof(ll.ll_host)); in dolastlogx()
366 domsg(pamh, ll.ll_time, ll.ll_host, in dolastlog()
367 sizeof(ll.ll_host), ll.ll_line, in dolastlog()
376 (void)strncpy(ll.ll_host, hostname, sizeof(ll.ll_host)); in dolastlog()
378 (void)memset(ll.ll_host, 0, sizeof(ll.ll_host)); in dolastlog()
/netbsd/src/lib/libc/compat/gen/
Dcompat_utmpx.c81 (void)memcpy(ll->ll_host, ll50->ll_host, sizeof(ll->ll_host)); in lastlogx50_to_lastlogx()
90 (void)memcpy(ll50->ll_host, ll->ll_host, sizeof(ll50->ll_host)); in lastlogx_to_lastlogx50()
/netbsd/src/usr.sbin/lastlogin/
Dlastlogin.c282 (void)memcpy(o.o_host, l->ll_host, sizeof(l->ll_host)); in process_entry()
411 (void)memcpy(o.o_host, l->ll_host, sizeof(l->ll_host)); in process_entryx()
/netbsd/src/include/
Dutmp.h56 char ll_host[UT_HOSTSIZE]; member
Dutmpx.h124 char ll_host[_UTX_HOSTSIZE]; /* host name */ member
/netbsd/src/external/bsd/ppp/dist/pppd/
Dsession.c411 strlcpy(ll.ll_host, ifname, sizeof(ll.ll_host)); in session_start()
/netbsd/src/lib/libc/compat/include/
Dutmpx.h56 char ll_host[_UTX_HOSTSIZE]; /* host name */ member
/netbsd/src/usr.bin/finger/
Dutil.c201 ll.ll_line[0] = ll.ll_host[0] = '\0'; in enter_lastlog()
231 memcpy(w->host, ll.ll_host, UT_HOSTSIZE); in enter_lastlog()