/freebsd-current/include/rpcsvc/ |
H A D | rnusers.x | 40 string ut_line<MAXUTLEN>; 62 string ut_line<RUSERS_MAXLINELEN>; /* device */
|
/freebsd-current/lib/libulog/ |
H A D | ulog_login.c | 52 strlcpy(utx->ut_line, line, sizeof utx->ut_line); 56 SHA1_Update(&c, utx->ut_line, sizeof utx->ut_line);
|
/freebsd-current/libexec/ftpd/ |
H A D | logwtmp.c | 67 (void)strncpy(ut.ut_line, "ftpd", sizeof(ut.ut_line));
|
/freebsd-current/contrib/ntp/libntp/ |
H A D | systime.c | 384 * char ut_line[UT_LINESIZE]; 427 strlcpy(ut.ut_line, OTIME_MSG, sizeof(ut.ut_line)); 432 strlcpy(ut.ut_line, NTIME_MSG, sizeof(ut.ut_line)); 446 strlcpy(utx.ut_line, OTIME_MSG, sizeof(utx.ut_line)); 451 strlcpy(utx.ut_line, NTIME_MSG, sizeof(utx.ut_line)); 469 strlcpy(ut.ut_line, OTIME_MS [all...] |
/freebsd-current/usr.bin/finger/ |
H A D | finger.h | 60 char tty[sizeof ((struct utmpx *)0)->ut_line]; /* tty line */
|
H A D | util.c | 121 strcmp(w->tty, ut->ut_line) == 0) 127 strcpy(w->tty, ut->ut_line); 141 strcpy(w->tty, ut->ut_line);
|
/freebsd-current/crypto/heimdal/appl/ftp/ftpd/ |
H A D | logwtmp.c | 132 strncpy(ut.ut_line, line, sizeof(ut.ut_line)); 144 strncpy(utx.ut_line, line, sizeof(utx.ut_line));
|
/freebsd-current/include/ |
H A D | utmpx.h | 47 char ut_line[16]; /* Device name. */ member in struct:utmpx
|
/freebsd-current/crypto/heimdal/appl/login/ |
H A D | utmpx_login.c | 35 strncpy(ut->ut_line, clean_tty, sizeof(ut->ut_line));
|
H A D | utmp_login.c | 92 strncpy(utmp->ut_line, ttyx, sizeof(utmp->ut_line));
|
/freebsd-current/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)); 385 if (Flags & AC_T && !do_tty(up->ut_line)) 397 memcpy(lp->line, up->ut_line, sizeof(lp->line)); 464 if (strncmp(usr->ut_line, "pts/", 4) != 0 ||
|
/freebsd-current/usr.bin/write/ |
H A D | write.c | 191 strncpy(lu.ut_line, tty, sizeof lu.ut_line); 228 if (term_chk(devfd, u->ut_line, &msgsok, &atime, 0)) 232 if (strcmp(u->ut_line, mytty) == 0) { 239 (void)strlcpy(tty, u->ut_line, MAXPATHLEN);
|
/freebsd-current/usr.bin/who/ |
H A D | who.c | 177 snprintf(tty, sizeof(tty), "%s%s", _PATH_DEV, ut->ut_line); 191 printf("%-12s ", ut->ut_line); 232 if (ttystat(utx->ut_line) == 0) 276 strlcpy(ut.ut_line, tty, sizeof ut.ut_line);
|
/freebsd-current/lib/libpam/modules/pam_lastlog/ |
H A D | pam_lastlog.c | 115 24 - 5, ctime(&t), utx->ut_line); 138 strncpy(utl.ut_line, tty, sizeof utl.ut_line);
|
/freebsd-current/crypto/openssh/ |
H A D | loginrec.c | 678 line_stripname(ut->ut_line, li->line, sizeof(ut->ut_line)); 762 line_stripname(utx->ut_line, li->line, sizeof(utx->ut_line)); 858 if (!strncmp(ty->ty_name, ut->ut_line, sizeof(ut->ut_line))) 890 * If the new ut_line is empty but the old one is not 891 * and ut_line and ut_name match, preserve the old ut_line. 895 (strncmp(old_ut.ut_line, u [all...] |
/freebsd-current/libexec/comsat/ |
H A D | comsat.c | 151 const char *s = utp->ut_line; 158 utp->ut_line); 162 _PATH_DEV, (int)sizeof(utp->ut_line), utp->ut_line);
|
/freebsd-current/libexec/talkd/ |
H A D | process.c | 183 char ftty[sizeof(_PATH_DEV) - 1 + sizeof(ut->ut_line)]; 196 ut->ut_line); 202 (void) strcpy(tty, ut->ut_line); 208 if (strcmp(ut->ut_line, tty) == 0) {
|
/freebsd-current/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-current/crypto/heimdal/appl/telnet/telnetd/ |
H A D | sys_term.c | 1161 strncpy(wtmp.ut_line, clean_ttyname(line), sizeof(wtmp.ut_line)); 1163 strncpy(wtmp.ut_id, wtmp.ut_line + 3, sizeof(wtmp.ut_id)); 1300 strncpy(utmpx.ut_line, clean_tty, sizeof(utmpx.ut_line)); 1427 strncpy(utmpx.ut_line, clean_tty, sizeof(utmpx.ut_line)); 1466 strncpy(wtmp.ut_line, clean_tty, sizeof(wtmp.ut_line)); 1505 if (strncmp(u->ut_line, [all...] |
/freebsd-current/lib/libc/gen/ |
H A D | getutxent.c | 209 if (strncmp(fu.fu_line, line->ut_line, 210 MIN(sizeof(fu.fu_line), sizeof(line->ut_line))) ==
|
/freebsd-current/libexec/rpc.rusersd/ |
H A D | rusers_proc.c | 168 getidle(usr->ut_line, usr->ut_host); 169 utmp_idle[nusers].ui_utmp.ut_line = 170 utmp_list[nusers].ut_line;
|
/freebsd-current/usr.bin/w/ |
H A D | w.c | 210 if (!(stp = ttystat(utmp->ut_line))) 439 *ep->utmp.ut_line ? 440 (strncmp(ep->utmp.ut_line, "tty", 3) && 441 strncmp(ep->utmp.ut_line, "cua", 3) ? 442 ep->utmp.ut_line : ep->utmp.ut_line + 3) : "-");
|
/freebsd-current/usr.sbin/lastlogin/ |
H A D | lastlogin.c | 160 u->ut_user, u->ut_line, u->ut_host);
|
/freebsd-current/usr.sbin/ppp/ |
H A D | id.c | 212 (int)sizeof ut->ut_line, ut->ut_line,
|
/freebsd-current/usr.bin/wall/ |
H A D | wall.c | 137 if (ttystat(utmp->ut_line) != 0) 161 if ((p = ttymsg(&iov, 1, utmp->ut_line, 60*5)) != NULL)
|