Home
last modified time | relevance | path

Searched refs:real_tty (Results 1 – 3 of 3) sorted by relevance

/drivers/char/
Dtty_ioctl.c917 struct tty_struct *real_tty; in tty_mode_ioctl() local
923 real_tty = tty->link; in tty_mode_ioctl()
925 real_tty = tty; in tty_mode_ioctl()
930 return get_sgttyb(real_tty, (struct sgttyb __user *) arg); in tty_mode_ioctl()
933 return set_sgttyb(real_tty, (struct sgttyb __user *) arg); in tty_mode_ioctl()
937 return get_tchars(real_tty, p); in tty_mode_ioctl()
939 return set_tchars(real_tty, p); in tty_mode_ioctl()
943 return get_ltchars(real_tty, p); in tty_mode_ioctl()
945 return set_ltchars(real_tty, p); in tty_mode_ioctl()
948 return set_termios(real_tty, p, TERMIOS_FLUSH | TERMIOS_WAIT | TERMIOS_OLD); in tty_mode_ioctl()
[all …]
Dtty_io.c2261 static int tiocgpgrp(struct tty_struct *tty, struct tty_struct *real_tty, pid_t __user *p) in tiocgpgrp() argument
2269 if (tty == real_tty && current->signal->tty != real_tty) in tiocgpgrp()
2271 pid = tty_get_pgrp(real_tty); in tiocgpgrp()
2289 static int tiocspgrp(struct tty_struct *tty, struct tty_struct *real_tty, pid_t __user *p) in tiocspgrp() argument
2293 int retval = tty_check_change(real_tty); in tiocspgrp()
2301 (current->signal->tty != real_tty) || in tiocspgrp()
2302 (real_tty->session != task_session(current))) in tiocspgrp()
2318 put_pid(real_tty->pgrp); in tiocspgrp()
2319 real_tty->pgrp = get_pid(pgrp); in tiocspgrp()
2338 static int tiocgsid(struct tty_struct *tty, struct tty_struct *real_tty, pid_t __user *p) in tiocgsid() argument
[all …]
DChangeLog740 &real_tty->termios_locked should have been
741 real_tty->termios_locked. This caused us to be