/freebsd-12-stable/contrib/opie/libopie/ |
H A D | getutmpentry.c | 47 if (u.ut_line[0]) { 55 strncpy(u.ut_line, line + 5, sizeof(u.ut_line)); 61 strcpy(u.ut_line, "pty/"); 62 strncpy(u.ut_line + 4, line + 5, sizeof(u.ut_line) - 4); 69 strncpy(u.ut_line, line, sizeof(u.ut_line)); 81 syslog(LOG_DEBUG, "__opiegetutmpentry: succeeded with line %s", pu->ut_line);
|
H A D | login.c | 59 strncpy(u.ut_line, line + 5, sizeof(u.ut_line)); 61 strncpy(u.ut_line, line, sizeof(u.ut_line)); 63 syslog(LOG_DEBUG, "opielogin: continuing with ut_line=%s", u.ut_line);
|
H A D | logwtmp.c | 153 strncpy(ut.ut_line, line, sizeof(ut.ut_line)); 170 strncpy(utx.ut_line, line, sizeof(utx.ut_line));
|
/freebsd-12-stable/contrib/opie/libmissing/ |
H A D | getutline.c | 54 if (!strncmp(utmp->ut_line, u.ut_line, sizeof(u.ut_line) - 1)) {
|
H A D | pututline.c | 46 if (!strncmp(utmp->ut_line, u.ut_line, sizeof(u.ut_line) - 1)) {
|
/freebsd-12-stable/lib/libulog/ |
H A D | ulog_login.c | 55 strncpy(utx->ut_line, line, sizeof utx->ut_line); 59 SHA1_Update(&c, utx->ut_line, sizeof utx->ut_line);
|
/freebsd-12-stable/contrib/ntp/libntp/ |
H A D | systime.c | 385 * char ut_line[UT_LINESIZE]; 428 strlcpy(ut.ut_line, OTIME_MSG, sizeof(ut.ut_line)); 433 strlcpy(ut.ut_line, NTIME_MSG, sizeof(ut.ut_line)); 447 strlcpy(utx.ut_line, OTIME_MSG, sizeof(utx.ut_line)); 452 strlcpy(utx.ut_line, NTIME_MSG, sizeof(utx.ut_line)); 470 strlcpy(ut.ut_line, OTIME_MS [all...] |
/freebsd-12-stable/include/rpcsvc/ |
H A D | rnusers.x | 49 string ut_line<MAXUTLEN>; 71 string ut_line<RUSERS_MAXLINELEN>; /* device */
|
/freebsd-12-stable/usr.bin/finger/ |
H A D | finger.h | 63 char tty[sizeof ((struct utmpx *)0)->ut_line]; /* tty line */
|
/freebsd-12-stable/libexec/ftpd/ |
H A D | logwtmp.c | 76 (void)strncpy(ut.ut_line, "ftpd", sizeof(ut.ut_line));
|
/freebsd-12-stable/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-12-stable/include/ |
H A D | utmpx.h | 49 char ut_line[16]; /* Device name. */ member in struct:utmpx
|
/freebsd-12-stable/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-12-stable/usr.bin/who/ |
H A D | who.c | 180 snprintf(tty, sizeof(tty), "%s%s", _PATH_DEV, ut->ut_line); 194 printf("%-12s ", ut->ut_line); 234 if (ttystat(utx->ut_line) == 0) 276 strlcpy(ut.ut_line, tty, sizeof ut.ut_line);
|
/freebsd-12-stable/usr.bin/write/ |
H A D | write.c | 206 strncpy(lu.ut_line, tty, sizeof lu.ut_line); 243 if (term_chk(devfd, u->ut_line, &msgsok, &atime, 0)) 247 if (strcmp(u->ut_line, mytty) == 0) { 254 (void)strlcpy(tty, u->ut_line, MAXPATHLEN);
|
/freebsd-12-stable/lib/libpam/modules/pam_lastlog/ |
H A D | pam_lastlog.c | 117 24 - 5, ctime(&t), utx->ut_line); 140 strncpy(utl.ut_line, tty, sizeof utl.ut_line);
|
/freebsd-12-stable/libexec/comsat/ |
H A D | comsat.c | 165 const char *s = utp->ut_line; 172 utp->ut_line); 176 _PATH_DEV, (int)sizeof(utp->ut_line), utp->ut_line);
|
/freebsd-12-stable/libexec/talkd/ |
H A D | process.c | 191 char ftty[sizeof(_PATH_DEV) - 1 + sizeof(ut->ut_line)]; 204 ut->ut_line); 210 (void) strcpy(tty, ut->ut_line); 216 if (strcmp(ut->ut_line, tty) == 0) {
|
/freebsd-12-stable/crypto/openssh/ |
H A D | loginrec.c | 675 line_stripname(ut->ut_line, li->line, sizeof(ut->ut_line)); 759 line_stripname(utx->ut_line, li->line, sizeof(utx->ut_line)); 852 if (!strncmp(ty->ty_name, ut->ut_line, sizeof(ut->ut_line))) 884 * If the new ut_line is empty but the old one is not 885 * and ut_line and ut_name match, preserve the old ut_line. 889 (strncmp(old_ut.ut_line, u [all...] |
/freebsd-12-stable/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-12-stable/usr.sbin/ac/ |
H A D | ac.c | 56 char line[sizeof(((struct utmpx *)0)->ut_line)]; 75 char line[sizeof(((struct utmpx *)0)->ut_line) + 2]; 380 strlcpy(up->ut_line, Console, sizeof(up->ut_line)); 387 if (Flags & AC_T && !do_tty(up->ut_line)) 399 memcpy(lp->line, up->ut_line, sizeof(lp->line)); 468 if (strncmp(usr->ut_line, "pts/", 4) != 0 ||
|
/freebsd-12-stable/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-12-stable/usr.bin/w/ |
H A D | w.c | 224 if (!(stp = ttystat(utmp->ut_line))) 451 *ep->utmp.ut_line ? 452 (strncmp(ep->utmp.ut_line, "tty", 3) && 453 strncmp(ep->utmp.ut_line, "cua", 3) ? 454 ep->utmp.ut_line : ep->utmp.ut_line + 3) : "-");
|
/freebsd-12-stable/lib/libc/gen/ |
H A D | getutxent.c | 217 if (strncmp(fu.fu_line, line->ut_line, 218 MIN(sizeof(fu.fu_line), sizeof(line->ut_line))) ==
|