| /freebsd/contrib/ntp/libntp/ |
| H A D | systime.c | 384 * char ut_line[UT_LINESIZE]; in update_uwtmp() 427 strlcpy(ut.ut_line, OTIME_MSG, sizeof(ut.ut_line)); in update_uwtmp() 432 strlcpy(ut.ut_line, NTIME_MSG, sizeof(ut.ut_line)); in update_uwtmp() 446 strlcpy(utx.ut_line, OTIME_MSG, sizeof(utx.ut_line)); in update_uwtmp() 451 strlcpy(utx.ut_line, NTIME_MSG, sizeof(utx.ut_line)); in update_uwtmp() 469 strlcpy(ut.ut_line, OTIME_MS in update_uwtmp() [all...] |
| /freebsd/lib/libulog/ |
| H A D | ulog_login.c | 52 strlcpy(utx->ut_line, line, sizeof utx->ut_line); in ulog_fill() 56 SHA1_Update(&c, utx->ut_line, sizeof utx->ut_line); in ulog_fill()
|
| /freebsd/usr.bin/who/ |
| H A D | who.c | 177 snprintf(tty, sizeof(tty), "%s%s", _PATH_DEV, ut->ut_line); in row() 191 printf("%-12s ", ut->ut_line); in row() 232 if (ttystat(utx->ut_line) == 0) in process_utmp() 276 strlcpy(ut.ut_line, tty, sizeof ut.ut_line); in whoami()
|
| /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() 144 strncpy(utx.ut_line, line, sizeof(utx.ut_line)); in ftpd_logwtmp_wtmp()
|
| /freebsd/usr.sbin/ac/ |
| H A D | ac.c | 54 char line[sizeof(((struct utmpx *)0)->ut_line)]; 73 char line[sizeof(((struct utmpx *)0)->ut_line) + 2]; 378 strlcpy(up->ut_line, Console, sizeof(up->ut_line)); in log_in() 385 if (Flags & AC_T && !do_tty(up->ut_line)) in log_in() 397 memcpy(lp->line, up->ut_line, sizeof(lp->line)); in log_in() 464 if (strncmp(usr->ut_line, "pts/", 4) != 0 || in ac()
|
| /freebsd/usr.bin/write/ |
| H A D | write.c | 191 strncpy(lu.ut_line, tty, sizeof lu.ut_line); in utmp_chk() 228 if (term_chk(devfd, u->ut_line, &msgsok, &atime, 0)) in search_utmp() 232 if (strcmp(u->ut_line, mytty) == 0) { in search_utmp() 239 (void)strlcpy(tty, u->ut_line, MAXPATHLEN); in search_utmp()
|
| /freebsd/libexec/talkd/ |
| H A D | process.c | 183 char ftty[sizeof(_PATH_DEV) - 1 + sizeof(ut->ut_line)]; in find_user() 196 ut->ut_line); in find_user() 202 (void) strcpy(tty, ut->ut_line); in find_user() 208 if (strcmp(ut->ut_line, tty) == 0) { in find_user()
|
| /freebsd/crypto/heimdal/appl/telnet/telnetd/ |
| H A D | sys_term.c | 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() 1300 strncpy(utmpx.ut_line, clean_tty, sizeof(utmpx.ut_line)); 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() 1505 if (strncmp(u->ut_line, in rmut() 1507 sizeof(u->ut_line)) || in rmut() 1525 strncpy(wtmp.ut_line, clean_tty, sizeof(wtmp.ut_line)); in rmut() 1552 strncpy(utmp.ut_line, clean_ttyname(line), sizeof(utmp.ut_line)); in rmut()
|
| /freebsd/crypto/openssh/ |
| H A D | loginrec.c | 667 line_stripname(ut->ut_line, li->line, sizeof(ut->ut_line)); in construct_utmp() 751 line_stripname(utx->ut_line, li->line, sizeof(utx->ut_line)); in construct_utmpx() 847 if (!strncmp(ty->ty_name, ut->ut_line, sizeof(ut->ut_line))) in utmp_write_direct() 884 (strncmp(old_ut.ut_line, ut->ut_line, sizeof(ut->ut_line)) == 0) && in utmp_write_direct() 1220 line_fullname(li->line, ut.ut_line, in wtmp_get_entry() 1221 MIN_SIZEOF(li->line, ut.ut_line)); in wtmp_get_entry() 1383 line_fullname(li->line, utx.ut_line, sizeof(li->line)); in wtmpx_get_entry() 1689 line_fullname(li->line, utx->ut_line, in utmpx_get_entry() 1690 MIN_SIZEOF(li->line, utx->ut_line)); in utmpx_get_entry()
|
| /freebsd/libexec/ftpd/ |
| H A D | logwtmp.c | |
| /freebsd/lib/libpam/modules/pam_lastlog/ |
| H A D | pam_lastlog.c | 115 24 - 5, ctime(&t), utx->ut_line); in pam_sm_open_session() 138 strncpy(utl.ut_line, tty, sizeof utl.ut_line); in pam_sm_open_session()
|
| /freebsd/include/rpcsvc/ |
| H A D | rnusers.x | 40 string ut_line<MAXUTLEN>; 62 string ut_line<RUSERS_MAXLINELEN>; /* device */
|
| /freebsd/contrib/tcsh/ |
| H A D | tc.who.c | 44 # define UTLINLEN sizeof(((struct utmpx *) 0)->ut_line) 98 # define UTLINLEN sizeof(((struct utmp *) 0)->ut_line) 110 # define UTLINLEN sizeof(__ut.ut_line) 304 if (utmp.ut_name[0] == '\0' && utmp.ut_line[0] == '\0') 307 if (utmp.ut_type == DEAD_PROCESS && utmp.ut_line[0] == '\0') 311 while (wp->who_next && (comp = strncmp(wp->who_tty, utmp.ut_line, UTLINLEN)) < 0) 355 (void) strncpy(wpnew->who_tty, utmp.ut_line, UTLINLEN);
|
| /freebsd/usr.bin/w/ |
| H A D | w.c | 214 if (!(stp = ttystat(utmp->ut_line))) in main() 444 *ep->utmp.ut_line ? in main() 445 (strncmp(ep->utmp.ut_line, "tty", 3) && in main() 446 strncmp(ep->utmp.ut_line, "cua", 3) ? in main() 447 ep->utmp.ut_line : ep->utmp.ut_line + 3) : "-"); in main()
|
| /freebsd/crypto/heimdal/appl/login/ |
| H A D | utmpx_login.c | 35 strncpy(ut->ut_line, clean_tty, sizeof(ut->ut_line)); in utmpx_update()
|
| H A D | utmp_login.c | 92 strncpy(utmp->ut_line, ttyx, sizeof(utmp->ut_line)); in prepare_utmp()
|
| /freebsd/libexec/comsat/ |
| H A D | comsat.c | 147 const char *s = utp->ut_line; in notify() 154 utp->ut_line); in notify() 157 (void)snprintf(tty, sizeof(tty), "%s%s", _PATH_DEV, utp->ut_line); in notify()
|
| /freebsd/libexec/rpc.rusersd/ |
| H A D | rusers_proc.c | 168 getidle(usr->ut_line, usr->ut_host); in do_names_2() 169 utmp_idle[nusers].ui_utmp.ut_line = in do_names_2() 170 utmp_list[nusers].ut_line; in do_names_2()
|
| /freebsd/lib/libc/gen/ |
| H A D | getutxent.c | 209 if (strncmp(fu.fu_line, line->ut_line, in getutxline() 210 MIN(sizeof(fu.fu_line), sizeof(line->ut_line))) == in getutxline()
|
| /freebsd/usr.bin/finger/ |
| H A D | util.c | 121 strcmp(w->tty, ut->ut_line) == 0) in enter_lastlog() 127 strcpy(w->tty, ut->ut_line); in enter_lastlog() 141 strcpy(w->tty, ut->ut_line); in enter_where()
|
| H A D | finger.h | 60 char tty[sizeof ((struct utmpx *)0)->ut_line]; /* tty line */
|
| /freebsd/usr.sbin/ppp/ |
| H A D | id.c | 212 (int)sizeof ut->ut_line, ut->ut_line, in ID0login()
|
| /freebsd/usr.bin/wall/ |
| H A D | wall.c | 137 if (ttystat(utmp->ut_line) != 0) in main() 161 if ((p = ttymsg(&iov, 1, utmp->ut_line, 60*5)) != NULL) in main()
|
| /freebsd/include/ |
| H A D | utmpx.h | 47 char ut_line[16]; /* Device name. */ member
|
| /freebsd/usr.sbin/lastlogin/ |
| H A D | lastlogin.c | 163 u->ut_user, u->ut_line, u->ut_host); in output()
|