Searched refs:ut_line (Results 1 - 25 of 32) sorted by relevance

12

/freebsd-current/include/rpcsvc/
H A Drnusers.x40 string ut_line<MAXUTLEN>;
62 string ut_line<RUSERS_MAXLINELEN>; /* device */
/freebsd-current/lib/libulog/
H A Dulog_login.c52 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 Dlogwtmp.c67 (void)strncpy(ut.ut_line, "ftpd", sizeof(ut.ut_line));
/freebsd-current/contrib/ntp/libntp/
H A Dsystime.c384 * 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 Dfinger.h60 char tty[sizeof ((struct utmpx *)0)->ut_line]; /* tty line */
H A Dutil.c121 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 Dlogwtmp.c132 strncpy(ut.ut_line, line, sizeof(ut.ut_line));
144 strncpy(utx.ut_line, line, sizeof(utx.ut_line));
/freebsd-current/include/
H A Dutmpx.h47 char ut_line[16]; /* Device name. */ member in struct:utmpx
/freebsd-current/crypto/heimdal/appl/login/
H A Dutmpx_login.c35 strncpy(ut->ut_line, clean_tty, sizeof(ut->ut_line));
H A Dutmp_login.c92 strncpy(utmp->ut_line, ttyx, sizeof(utmp->ut_line));
/freebsd-current/usr.sbin/ac/
H A Dac.c54 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 Dwrite.c191 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 Dwho.c177 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 Dpam_lastlog.c115 24 - 5, ctime(&t), utx->ut_line);
138 strncpy(utl.ut_line, tty, sizeof utl.ut_line);
/freebsd-current/crypto/openssh/
H A Dloginrec.c678 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 Dcomsat.c151 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 Dprocess.c183 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 Dtc.who.c44 # 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 Dsys_term.c1161 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 Dgetutxent.c209 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 Drusers_proc.c168 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 Dw.c210 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 Dlastlogin.c160 u->ut_user, u->ut_line, u->ut_host);
/freebsd-current/usr.sbin/ppp/
H A Did.c212 (int)sizeof ut->ut_line, ut->ut_line,
/freebsd-current/usr.bin/wall/
H A Dwall.c137 if (ttystat(utmp->ut_line) != 0)
161 if ((p = ttymsg(&iov, 1, utmp->ut_line, 60*5)) != NULL)

Completed in 393 milliseconds

12