Home | History | Annotate | Download | only in dropbear

Lines Matching defs:last

39   (utmp and friends) and last login time retrieval.
70 Retrieving the time of last login ('lastlog') is in some ways even
76 we look backwards in the wtmp or wtmpx file for the last login entry
109 getlast_entry(), which tries one of three methods to find the last
432 * form of the line (Just use the last <dstsize> characters of the
1014 /* Seek to the start of the last struct utmp */
1170 /* Seek to the start of the last struct utmpx */
1284 lastlog_construct(struct logininfo *li, struct lastlog *last)
1287 memset(last, '\0', sizeof(*last));
1289 (void)line_stripname(last->ll_line, li->line, sizeof(last->ll_line));
1290 strlcpy(last->ll_host, li->hostname,
1291 MIN_SIZEOF(last->ll_host, li->hostname));
1292 last->ll_time = li->tv_sec;
1361 struct lastlog last;
1365 lastlog_construct(li, &last);
1371 if (atomicio(write, fd, &last, sizeof(last)) != sizeof(last)) {