/freebsd-10.0-release/crypto/openssh/ |
H A D | auth-sia.c | 83 session_setup_sia(struct passwd *pw, char *tty) argument 91 tty, 0, NULL) != SIASUCCESS)
|
H A D | session.h | 39 /* tty */ 43 char tty[TTYSZ]; member in struct:Session
|
/freebsd-10.0-release/libexec/comsat/ |
H A D | comsat.c | 166 char tty[20]; local 177 (void)snprintf(tty, sizeof(tty), "%s%.*s", 179 if (stat(tty, &stb) == -1 || !(stb.st_mode & (S_IXUSR | S_IXGRP))) { 180 dsyslog(LOG_DEBUG, "%s: wrong mode on %s", utp->ut_user, tty); 183 dsyslog(LOG_DEBUG, "notify %s on %s", utp->ut_user, tty); 193 if ((tp = fopen(tty, "w")) == NULL) { 194 dsyslog(LOG_ERR, "%s: %s", tty, strerror(errno));
|
/freebsd-10.0-release/sys/dev/snp/ |
H A D | snp.c | 42 #include <sys/tty.h> 46 static MALLOC_DEFINE(M_SNP, "snp", "tty snoop device"); 52 "tty snoop registration", MTX_DEF); 58 "tty snoop registration"); 107 struct tty *snp_tty; /* (r) TTY we're snooping. */ 117 struct tty *tp; 153 struct tty *tp; 194 struct tty *tp; 240 struct tty *tp; 297 struct tty *t [all...] |
/freebsd-10.0-release/usr.bin/gzip/ |
H A D | zmore | 56 if tty -s && test -n "$oterm" -a $# -gt 0; then
|
/freebsd-10.0-release/contrib/libreadline/examples/rlfe/ |
H A D | Makefile.in | 82 rm -f shadow/term.h shadow/tty.c shadow/comm.h shadow/osdef.h 92 tty.c: tty.sh 93 sh $(srcdir)/tty.sh tty.c 99 rm -f tty.c term.h comm.h osdef.h kmapdef.c core 120 rm -f tty.c term.h comm.h osdef.h kmapdef.c
|
/freebsd-10.0-release/crypto/openssl/crypto/ui/ |
H A D | ui_openssl.c | 227 # define TTY_get(tty,data) tcgetattr(tty,data) 228 # define TTY_set(tty,data) tcsetattr(tty,TCSANOW,data) 235 # define TTY_get(tty,data) ioctl(tty,TCGETA,data) 236 # define TTY_set(tty,data) ioctl(tty,TCSETA,data) 243 # define TTY_get(tty,data) ioctl(tty,TIOCGET 675 noecho_fgets(char *buf, int size, FILE *tty) argument [all...] |
/freebsd-10.0-release/contrib/ntp/kernel/ |
H A D | tty_clk.c | 14 #include "../h/tty.h" 79 register struct tty *tp; 85 * from someone opening /dev/tty 108 register struct tty *tp; 128 register struct tty *tp; 155 register struct tty *tp; 264 * Handle ioctls. We reject most tty-style except those that 268 struct tty *tp;
|
/freebsd-10.0-release/sys/sys/ |
H A D | ttyqueue.h | 36 #error "can only be included through <sys/tty.h>" 39 struct tty; 72 void ttyinq_setsize(struct ttyinq *ti, struct tty *tp, size_t len); 74 int ttyinq_read_uio(struct ttyinq *ti, struct tty *tp, struct uio *uio, 139 void ttyoutq_setsize(struct ttyoutq *to, struct tty *tp, size_t len); 142 int ttyoutq_read_uio(struct ttyoutq *to, struct tty *tp, struct uio *uio);
|
/freebsd-10.0-release/usr.bin/finger/ |
H A D | sprint.c | 114 if (*w->tty) 116 (strncmp(w->tty, "tty", 3) 117 && strncmp(w->tty, "cua", 3)) 118 ? w->tty : w->tty + 3);
|
/freebsd-10.0-release/sys/kern/ |
H A D | tty_ttydisc.c | 40 #include <sys/tty.h> 85 ttydisc_open(struct tty *tp) 91 ttydisc_close(struct tty *tp) 111 ttydisc_read_canonical(struct tty *tp, struct uio *uio, int ioflag) 184 ttydisc_read_raw_no_timer(struct tty *tp, struct uio *uio, int ioflag) 223 ttydisc_read_raw_read_timer(struct tty *tp, struct uio *uio, int ioflag, 277 ttydisc_read_raw_interbyte_timer(struct tty *tp, struct uio *uio, int ioflag) 326 ttydisc_read(struct tty *tp, struct uio *uio, int ioflag) 369 ttydisc_write_oproc(struct tty *tp, char c) 455 ttydisc_write(struct tty *t [all...] |
H A D | tty_pts.c | 63 #include <sys/tty.h> 76 static MALLOC_DEFINE(M_PTS, "pts", "pseudo tty device"); 112 struct tty *tp = fp->f_data; 186 struct tty *tp = fp->f_data; 267 struct tty *tp = fp->f_data; 392 struct tty *tp = fp->f_data; 447 struct tty *tp = fp->f_data; 457 struct tty *tp = fp->f_data; 473 struct tty *tp = fp->f_data; 483 struct tty *t [all...] |
/freebsd-10.0-release/usr.bin/lock/ |
H A D | lock.c | 83 static struct termios tty, ntty; variable in typeref:struct:termios 136 if (tcgetattr(0, &tty)) /* get information for header */ 151 ntty = tty; ntty.c_lflag &= ~ECHO; 168 (void)tcsetattr(0, TCSADRAIN|TCSASOFT, &tty); 193 (void)tcsetattr(0, TCSADRAIN|TCSASOFT, &tty); 276 (void)tcsetattr(0, TCSADRAIN|TCSASOFT, &tty); 286 (void)tcsetattr(0, TCSADRAIN|TCSASOFT, &tty);
|
/freebsd-10.0-release/sys/dev/altera/jtag_uart/ |
H A D | altera_jtag_uart_tty.c | 43 #include <sys/tty.h> 210 aju_handle_input(struct altera_jtag_uart_softc *sc, struct tty *tp) 241 aju_handle_output(struct altera_jtag_uart_softc *sc, struct tty *tp) 286 aju_outwakeup(struct tty *tp) 301 struct tty *tp = sc->ajus_ttyp; 332 struct tty *tp = sc->ajus_ttyp; 363 struct tty *tp = sc->ajus_ttyp; 380 struct tty *tp; 408 * used, but not re-enable intil later once the remainder of the tty 454 struct tty *t [all...] |
/freebsd-10.0-release/sys/dev/nmdm/ |
H A D | nmdm.c | 43 #include <sys/tty.h> 75 struct tty *np_tty; 101 struct tty *tp; 184 struct tty *tp, *otp; 241 nmdm_param(struct tty *tp, struct termios *t) 244 struct tty *tp2; 299 nmdm_modem(struct tty *tp, int sigon, int sigoff) 324 nmdm_inwakeup(struct tty *tp) 333 nmdm_outwakeup(struct tty *tp)
|
/freebsd-10.0-release/sys/dev/xen/console/ |
H A D | console.c | 11 #include <sys/tty.h> 36 static void xcoutwakeup(struct tty *); 101 static struct tty *xccons; 277 struct tty *tp = xccons; 345 xcopen(struct tty *tp) 353 xcclose(struct tty *tp) 371 xcoutwakeup(struct tty *tp) 389 struct tty *tp; 392 tp = (struct tty *)v;
|
/freebsd-10.0-release/contrib/openpam/bin/su/ |
H A D | su.c | 74 const char *user, *tty; local 109 tty = ttyname(STDERR_FILENO); 110 if ((pam_err = pam_set_item(pamh, PAM_TTY, tty)) != PAM_SUCCESS)
|
/freebsd-10.0-release/sys/powerpc/mambo/ |
H A D | mambo_console.c | 37 #include <sys/tty.h> 59 static struct tty *tp = NULL; 100 mambotty_outwakeup(struct tty *tp)
|
/freebsd-10.0-release/usr.sbin/bhyve/ |
H A D | uart_emul.c | 94 int fd; /* tty device file descriptor */ 114 struct ttyfd tty; member in struct:uart_softc 239 ttyopen(&sc->tty); 240 mev = mevent_add(sc->tty.fd, EVF_READ, uart_drain, sc); 305 assert(fd == sc->tty.fd); 316 (void) ttyread(&sc->tty); 319 ((ch = ttyread(&sc->tty)) != -1)) { 356 } else if (sc->tty.opened) { 357 ttywrite(&sc->tty, value); 590 sc->tty [all...] |
/freebsd-10.0-release/sys/dev/gxemul/cons/ |
H A D | gxemul_cons.c | 41 #include <sys/tty.h> 277 struct tty *tp; 291 gxemul_cons_outwakeup(struct tty *tp) 313 struct tty *tp;
|
/freebsd-10.0-release/sys/modules/netgraph/ |
H A D | Makefile | 52 tty \
|
/freebsd-10.0-release/usr.bin/login/ |
H A D | login.c | 99 #define TTYGRPNAME "tty" /* group to own ttys */ 145 static char *tty; variable 247 tty = ttyn + sizeof _PATH_DEV - 1; 249 tty = ttyn; 300 pam_err = pam_set_item(pamh, PAM_TTY, tty); 454 login_fbtab(tty, pwd->pw_uid, pwd->pw_gid); 457 * Clear flags of the tty. None should be set, and when the 479 * TODO: Make dialup tty determination a library call 482 if (hflag && isdialuptty(tty)) 483 syslog(LOG_INFO, "DIALUP %s, %s", tty, pw [all...] |
/freebsd-10.0-release/usr.bin/talk/ |
H A D | init_disp.c | 59 char *tty; local 62 if ((tty = ttyname(STDERR_FILENO)) == NULL) 64 if (stat(tty, &sb) < 0) 65 err(1, "%s", tty);
|
/freebsd-10.0-release/crypto/heimdal/appl/login/ |
H A D | login.c | 267 char *tty, char *ttyn) 272 if (utmpx_login(tty, username, hostname) != 0 && !f_flag) { 310 * information about the user. `ttyn' is the complete name of the tty 311 * and `tty' the short name. 315 do_login(const struct passwd *pwd, char *tty, char *ttyn) argument 334 tty, ttyn); 336 gr = getgrnam ("tty"); 606 /* Default tty settings. */ 644 char *tty, *ttyn; local 708 tty 266 update_utmp(const char *username, const char *hostname, char *tty, char *ttyn) argument [all...] |
/freebsd-10.0-release/sys/dev/dcons/ |
H A D | dcons_os.c | 47 #include <sys/tty.h> 199 dcons_outwakeup(struct tty *tp) 213 struct tty *tp; 219 tp = dc->tty; 359 struct tty *tp; 364 dc->tty = tp; 386 struct tty *tp; 390 tp = dc->tty;
|