index
:
kernel/git/torvalds/linux.git
master
Linux kernel source tree
Linus Torvalds
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
drivers
/
tty
/
tty_io.c
Age
Commit message (
Expand
)
Author
Files
Lines
2024-01-18
Merge tag 'usb-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/greg...
Linus Torvalds
1
-0
/
+3
2024-01-18
Merge tag 'tty-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/greg...
Linus Torvalds
1
-7
/
+11
2023-12-15
usb: cdc-acm: return correct error code on unsupported break
Oliver Neukum
1
-0
/
+3
2023-12-13
tty: add new helper function tty_get_tiocm
Florian Eckert
1
-6
/
+22
2023-12-08
tty: core: the rest to u8
Jiri Slaby (SUSE)
1
-5
/
+5
2023-12-08
tty: make tty_operations::send_xchar accept u8 char
Jiri Slaby (SUSE)
1
-1
/
+1
2023-11-25
tty: remove unneeded mbz from tiocsti()
Jiri Slaby (SUSE)
1
-2
/
+2
2023-11-25
tty: deprecate tty_write_message()
Jiri Slaby (SUSE)
1
-0
/
+4
2023-11-03
Merge tag 'tty-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/greg...
Linus Torvalds
1
-65
/
+65
2023-11-01
Merge tag 'sysctl-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/m...
Linus Torvalds
1
-1
/
+0
2023-10-21
tty: whitespaces in descriptions corrected by replacing tabs with spaces
Florian Eckert
1
-47
/
+47
2023-10-18
tty: convert to new timestamp accessors
Jeff Layton
1
-3
/
+7
2023-10-11
tty: Remove now superfluous sentinel element from ctl_table array
Joel Granados
1
-1
/
+0
2023-10-03
tty: use 'if' in send_break() instead of 'goto'
Jiri Slaby (SUSE)
1
-5
/
+4
2023-10-03
tty: don't check for signal_pending() in send_break()
Jiri Slaby (SUSE)
1
-2
/
+1
2023-10-03
tty: early return from send_break() on TTY_DRIVER_HARDWARE_BREAK
Jiri Slaby (SUSE)
1
-15
/
+17
2023-10-03
tty: stop using ndash in kernel-doc
Jiri Slaby (SUSE)
1
-4
/
+4
2023-09-01
Merge tag 'tty-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/greg...
Linus Torvalds
1
-30
/
+20
2023-08-21
kill do_each_thread()
Oleg Nesterov
1
-2
/
+2
2023-08-11
tty: use min() for size computation in iterate_tty_read()
Jiri Slaby (SUSE)
1
-2
/
+1
2023-08-11
tty: switch size and count types in iterate_tty_read() to size_t
Jiri Slaby (SUSE)
1
-2
/
+2
2023-08-11
tty: use ssize_t for iterate_tty_read() returned type
Jiri Slaby (SUSE)
1
-8
/
+8
2023-08-11
tty: use min() in iterate_tty_write()
Jiri Slaby (SUSE)
1
-6
/
+2
2023-08-11
tty: rename and de-inline do_tty_write()
Jiri Slaby (SUSE)
1
-3
/
+3
2023-08-11
tty: don't pass write() to do_tty_write()
Jiri Slaby (SUSE)
1
-7
/
+4
2023-08-11
tty: change tty_write_lock()'s ndelay parameter to bool
Jiri Slaby (SUSE)
1
-3
/
+3
2023-07-31
Merge 6.5-rc4 into tty-next
Greg Kroah-Hartman
1
-1
/
+1
2023-07-25
tty: make check_tty_count() void
Jiri Slaby
1
-3
/
+1
2023-07-20
TIOCSTI: always enable for CAP_SYS_ADMIN
Samuel Thibault
1
-1
/
+1
2023-07-03
Merge tag 'tty-6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/greg...
Linus Torvalds
1
-11
/
+20
2023-06-15
tty: tty_io: update timestamps on all device nodes
Michal Sekletar
1
-11
/
+20
2023-05-24
tty, proc, kernfs, random: Use copy_splice_read()
David Howells
1
-2
/
+2
2023-04-27
Merge tag 'driver-core-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...
Linus Torvalds
1
-13
/
+11
2023-04-03
tty: make tty_class a static const structure
Greg Kroah-Hartman
1
-13
/
+11
2023-03-29
tty: Prevent writing chars during tcsetattr TCSADRAIN/FLUSH
Ilpo Järvinen
1
-2
/
+2
2023-03-17
driver core: class: remove module * from class_create()
Greg Kroah-Hartman
1
-1
/
+1
2023-03-09
tty: simplify sysctl registration
Luis Chamberlain
1
-19
/
+1
2023-01-19
tty: fix out-of-bounds access in tty_driver_lookup_tty()
Sven Schnelle
1
-3
/
+5
2022-12-16
Merge tag 'driver-core-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...
Linus Torvalds
1
-1
/
+1
2022-12-16
Merge tag 'tty-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/greg...
Linus Torvalds
1
-2
/
+43
2022-12-02
tty: tty_io: use console_list_lock for list synchronization
John Ogness
1
-6
/
+12
2022-12-02
tty: tty_io: document console_lock usage
John Ogness
1
-0
/
+10
2022-11-24
driver core: make struct class.devnode() take a const *
Greg Kroah-Hartman
1
-1
/
+1
2022-11-08
tty: Move TIOCSTI toggle variable before kerndoc
Kees Cook
1
-1
/
+1
2022-11-03
tty: Allow TIOCSTI to be disabled
Kees Cook
1
-0
/
+11
2022-11-03
tty: Move sysctl setup into "core" tty logic
Kees Cook
1
-2
/
+32
2022-09-22
tty: remove TTY_DRIVER_MAGIC
наб
1
-1
/
+0
2022-09-22
tty: remove TTY_MAGIC
наб
1
-8
/
+0
2022-09-09
termios: start unifying non-UAPI parts of asm/termios.h
Al Viro
1
-1
/
+1
2022-06-10
tty: fix typos in comments
Julia Lawall
1
-1
/
+1
2022-03-22
memcg: enable accounting for tty-related objects
Vasily Averin
1
-1
/
+1
2021-12-21
tty: tty_io: Switch to vmalloc() fallback in case of TTY_NO_WRITE_SPLIT
Andy Shevchenko
1
-6
/
+3
2021-11-26
tty: add kernel-doc for tty_standard_install
Jiri Slaby
1
-0
/
+8
2021-11-26
tty: add kernel-doc for more tty_driver functions
Jiri Slaby
1
-2
/
+14
2021-11-26
tty: reformat kernel-doc in tty_io.c
Jiri Slaby
1
-452
/
+419
2021-11-25
tty: remove file from tty_ldisc_ops::ioctl and compat_ioctl
Jiri Slaby
1
-4
/
+4
2021-11-25
tty: clean up whitespace in __do_SAK()
Jiri Slaby
1
-3
/
+5
2021-11-25
tty: remove tty NULL check from __do_SAK()
Jiri Slaby
1
-3
/
+0
2021-11-25
tty: remove TTY_SOFT_SAK part from __do_SAK()
Jiri Slaby
1
-4
/
+0
2021-08-26
tty: Fix data race between tiocsti() and flush_to_ldisc()
Nguyen Dinh Phi
1
-2
/
+2
2021-07-27
tty: drop put_tty_driver
Jiri Slaby
1
-6
/
+0
2021-07-27
tty: make tty_set_operations an inline
Jiri Slaby
1
-7
/
+0
2021-05-20
tty: fix kernel-doc for {start,stop}_tty
Jiri Slaby
1
-21
/
+19
2021-05-20
tty: fix kernel-doc for tty_{read,write}
Jiri Slaby
1
-21
/
+16
2021-05-13
tty: tty_io: Remove return in void function
Xiaofei Tan
1
-1
/
+0
2021-05-13
tty: tty_io: Delete a blank line before EXPORT_SYMBOL(foo)
Xiaofei Tan
1
-7
/
+0
2021-05-13
tty: tty_io: Fix an issue of code indent for conditional statements
Xiaofei Tan
1
-1
/
+1
2021-05-13
tty: tty_io: Remove the repeated word 'can'
Xiaofei Tan
1
-1
/
+1
2021-05-13
tty: tty_io: Fix coding style issues of block comments
Xiaofei Tan
1
-7
/
+12
2021-05-13
tty: tty_io: Fix trailing whitespace issues
Xiaofei Tan
1
-1
/
+1
2021-05-13
tty: tty_io: Fix spaces required around that ':'
Xiaofei Tan
1
-1
/
+1
2021-05-13
tty: tty_io: Add a blank line after declarations
Xiaofei Tan
1
-0
/
+10
2021-05-13
tty: tty_io: Remove spaces before tabs
Xiaofei Tan
1
-8
/
+8
2021-05-13
tty: cumulate and document tty_struct::ctrl* members
Jiri Slaby
1
-22
/
+22
2021-05-13
tty: cumulate and document tty_struct::flow* members
Jiri Slaby
1
-12
/
+12
2021-04-15
tty: make tty_release_redirect() static
Greg Kroah-Hartman
1
-2
/
+1
2021-04-15
tty: create internal tty.h file
Greg Kroah-Hartman
1
-0
/
+1
2021-04-10
tty: refactor TIOCSSERIAL handling
Johan Hovold
1
-17
/
+16
2021-04-10
tty: use pr_warn_ratelimited() for deprecated serial flags
Johan Hovold
1
-12
/
+6
2021-04-10
tty: fix return value for unsupported ioctls
Johan Hovold
1
-5
/
+5
2021-03-15
Merge 5.12-rc3 into tty-next
Greg Kroah-Hartman
1
-3
/
+2
2021-03-10
tty: localise ptychar and make it const
Jiri Slaby
1
-2
/
+1
2021-03-10
tty: let tty_unregister_driver return void
Jiri Slaby
1
-8
/
+1
2021-03-10
Revert "drivers:tty:pty: Fix a race causing data loss on close"
Greg Kroah-Hartman
1
-3
/
+2
2021-02-20
Merge tag 'tty-5.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...
Linus Torvalds
1
-43
/
+167
2021-02-20
tty: protect tty_write from odd low-level tty disciplines
Linus Torvalds
1
-1
/
+4
2021-01-29
tty: avoid using vfs_iocb_iter_write() for redirected console writes
Linus Torvalds
1
-3
/
+17
2021-01-25
Commit 9bb48c82aced ("tty: implement write_iter") converted the tty
Sami Tolvanen
1
-2
/
+0
2021-01-22
tty: fix up hung_up_tty_write() conversion
Linus Torvalds
1
-4
/
+5
2021-01-22
tty: fix up iterate_tty_read() EOVERFLOW handling
Linus Torvalds
1
-6
/
+13
2021-01-22
tty: fix up hung_up_tty_read() conversion
Linus Torvalds
1
-4
/
+5
2021-01-22
tty: fix up hung_up_tty_write() conversion
Linus Torvalds
1
-4
/
+5
2021-01-21
Merge branch 'tty-splice' of git://git.kernel.org/pub/scm/linux/kernel/git/to...
Greg Kroah-Hartman
1
-34
/
+96
2021-01-21
Merge 9bb48c82aced ("tty: implement write_iter") into tty-linus
Greg Kroah-Hartman
1
-22
/
+26
2021-01-20
tty: implement write_iter
Linus Torvalds
1
-22
/
+26
2021-01-20
tty: implement read_iter
Linus Torvalds
1
-18
/
+18
2021-01-20
tty: convert tty_ldisc_ops 'read()' function to take a kernel pointer
Linus Torvalds
1
-3
/
+61
2021-01-07
drivers:tty:pty: Fix a race causing data loss on close
Corey Minyard
1
-2
/
+3
2021-01-07
tty: Export redirect release
Corey Minyard
1
-8
/
+24
2020-12-28
tty: new helper function tty_get_icount()
Uwe Kleine-König
1
-4
/
+25
2020-12-28
tty: rename tty_kopen() and add new function tty_kopen_shared()
Uwe Kleine-König
1
-18
/
+38
2020-12-07
Merge 5.10-rc7 into tty-next
Greg Kroah-Hartman
1
-1
/
+6
2020-12-04
tty: Fix ->session locking
Jann Horn
1
-1
/
+6
2020-11-09
Merge 5.10-rc3 into tty-next
Greg Kroah-Hartman
1
-2
/
+4
2020-11-06
tty: fix crash in release_tty if tty->port is not set
Matthias Reichl
1
-2
/
+4
2020-11-06
tty: tty_io: Fix some kernel-doc issues
Lee Jones
1
-3
/
+7
2020-11-06
tty: tty_io: Move 'tty_sysctl_init's prototype to shared space
Lee Jones
1
-2
/
+0
2020-08-18
tty: fix kernel-doc
Jiri Slaby
1
-14
/
+12
2020-07-29
tty: Use the preferred form for passing the size of a structure type
Gustavo A. R. Silva
1
-7
/
+7
2020-07-29
tty: Fix identation issues in struct serial_struct32
Gustavo A. R. Silva
1
-19
/
+19
2020-07-29
tty: Avoid the use of one-element arrays
Gustavo A. R. Silva
1
-2
/
+2
2020-03-18
tty: fix compat TIOCGSERIAL checking wrong function ptr
Eric Biggers
1
-1
/
+1
2020-03-18
tty: fix compat TIOCGSERIAL leaking uninitialized memory
Eric Biggers
1
-1
/
+3
2020-03-18
tty: drop outdated comments about release_tty() locking
Eric Biggers
1
-6
/
+2
2019-12-17
tty: drop useless variable initialisation in tty_kopen()
Uwe Kleine-König
1
-1
/
+1
2019-12-03
Merge tag 'tty-5.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/greg...
Linus Torvalds
1
-6
/
+8
2019-11-22
tty: don't crash in tty_init_dev when missing tty_port
Jiri Slaby
1
-3
/
+6
2019-11-20
tty: remove unused argument from tty_open_by_driver()
Sudip Mukherjee
1
-3
/
+2
2019-10-23
tty: handle compat PPP ioctls
Arnd Bergmann
1
-0
/
+4
2019-10-23
compat_ioctl: move SIOCOUTQ out of compat_ioctl.c
Arnd Bergmann
1
-0
/
+1
2019-07-30
drivers: Introduce device lookup variants by device type
Suzuki K Poulose
1
-7
/
+1
2019-05-24
tty: tty_io: fix driver refcount imbalance on error path
Lin Yi
1
-1
/
+3
2019-04-25
tty: update obsolete termios comment
Johan Hovold
1
-1
/
+1
2019-03-29
Revert "tty: pty: Fix race condition between release_one_tty and pty_write"
Greg Kroah-Hartman
1
-3
/
+0
2019-03-28
tty: pty: Fix race condition between release_one_tty and pty_write
Sahara
1
-0
/
+3
2019-01-30
tty: ldisc: add sysctl to prevent autoloading of ldiscs
Greg Kroah-Hartman
1
-0
/
+3
2019-01-21
tty: Handle problem if line discipline does not have receive_buf
Greg Kroah-Hartman
1
-1
/
+2
2019-01-11
tty: Don't hold ldisc lock in tty_reopen() if ldisc present
Dmitry Safonov
1
-7
/
+13
2018-12-10
Merge 4.20-rc6 into tty-next
Greg Kroah-Hartman
1
-2
/
+9
2018-12-05
tty: Simplify tty->count math in tty_reopen()
Dmitry Safonov
1
-8
/
+5
2018-12-05
tty: Hold tty_ldisc_lock() during tty_reopen()
Dmitry Safonov
1
-2
/
+7
2018-12-05
USB: serial: console: fix reported terminal settings
Johan Hovold
1
-2
/
+9
2018-10-29
Merge tag 'tty-4.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...
Linus Torvalds
1
-1
/
+1
2018-10-24
Merge branch 'work.tty-ioctl' of git://git.kernel.org/pub/scm/linux/kernel/gi...
Linus Torvalds
1
-43
/
+186
2018-10-24
Merge branch 'siginfo-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
Linus Torvalds
1
-3
/
+3
2018-10-13
change semantics of ldisc ->compat_ioctl()
Al Viro
1
-0
/
+3
2018-10-13
remove fallback to drivers for TIOCGICOUNT
Al Viro
1
-5
/
+1
2018-10-13
take compat TIOC[SG]SERIAL treatment into tty_compat_ioctl()
Al Viro
1
-0
/
+81
2018-10-13
complete ->[sg]et_serial() switchover
Al Viro
1
-10
/
+4
2018-10-11
tty: check name length in tty_find_polling_driver()
Miles Chen
1
-1
/
+1
2018-09-18
tty: Drop tty->count on tty_reopen() failure
Dmitry Safonov
1
-3
/
+8
2018-09-16
tty_io: Use group_send_sig_info in __do_SACK to note it is a session being ki...
Eric W. Biederman
1
-3
/
+3
2018-09-14
tty_ioctl(): start taking TIOC[SG]SERIAL into separate methods
Al Viro
1
-5
/
+30
2018-09-14
tty_ioctl(): drop FIONBIO handling
Al Viro
1
-30
/
+0
2018-09-14
move compat handling of tty ioctls to tty_compat_ioctl()
Al Viro
1
-2
/
+76
2018-08-21
Merge branch 'siginfo-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
Linus Torvalds
1
-1
/
+1
2018-07-21
signal: Use PIDTYPE_TGID to clearly store where file signals will be sent
Eric W. Biederman
1
-1
/
+1
2018-06-28
tty: use 64-bit timstamp
Arnd Bergmann
1
-14
/
+5
2018-06-05
vfs: change inode times to use struct timespec64
Deepa Dinamani
1
-3
/
+12
2018-04-23
tty: Don't call panic() at tty_ldisc_init()
Tetsuo Handa
1
-1
/
+4
2018-02-28
tty: make n_tty_read() always abort if hangup is in progress
Tejun Heo
1
-0
/
+9
2018-02-11
vfs: do bulk POLL* -> EPOLL* replacement
Linus Torvalds
1
-7
/
+7
2018-02-01
Merge tag 'tty-4.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...
Linus Torvalds
1
-1
/
+9
2018-01-23
tty: fix data race between tty_init_dev and flush of buf
Gaurav Kohli
1
-1
/
+7
2017-12-19
pty: cancel pty slave port buf's work in tty_release
Sahara
1
-0
/
+2
2017-11-28
the rest of drivers/*: annotate ->poll() instances
Al Viro
1
-3
/
+3
2017-11-27
anntotate the places where ->poll() return values go
Al Viro
1
-1
/
+1
2017-11-08
tty: add SPDX identifiers to all remaining files in drivers/tty/
Greg Kroah-Hartman
1
-0
/
+1
2017-09-05
Merge tag 'staging-4.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
Linus Torvalds
1
-7
/
+96
2017-09-05
Merge tag 'tty-4.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...
Linus Torvalds
1
-0
/
+9
2017-08-28
pty: show associative slave of ptmx in fdinfo
Masatake YAMATO
1
-0
/
+9
2017-08-28
tty: undo export of tty_open_by_driver
Okash Khawaja
1
-2
/
+1
2017-08-28
tty: resolve tty contention between kernel and user space
Okash Khawaja
1
-5
/
+95
2017-08-24
pty: Repair TIOCGPTPEER
Eric W. Biederman
1
-0
/
+3
2017-06-27
tty: add function to convert device name to number
Okash Khawaja
1
-0
/
+50
2017-05-16
tty: export tty_open_by_driver
Okash Khawaja
1
-3
/
+7
2017-04-18
tty: split job control support into a file of its own
Nicolas Pitre
1
-536
/
+11
2017-04-18
console: move console_init() out of tty_io.c
Nicolas Pitre
1
-24
/
+0
2017-04-08
tty: fix comment typo s/repsonsible/responsible/
Thadeu Lima de Souza Cascardo
1
-1
/
+1
2017-03-31
tty: reset termios state on device registration
Johan Hovold
1
-0
/
+11
2017-03-31
tty: drop obsolete termios_locked comments
Johan Hovold
1
-6
/
+1
2017-03-31
tty: close race between device register and open
Johan Hovold
1
-20
/
+20
2017-03-17
drivers/tty: Convert remaining uses of pr_warning to pr_warn
Joe Perches
1
-2
/
+2
2017-03-02
sched/headers: Prepare for new header dependencies before moving code to <lin...
Ingo Molnar
1
-0
/
+1
2017-03-02
sched/headers: Prepare for new header dependencies before moving code to <lin...
Ingo Molnar
1
-1
/
+1
2017-01-19
tty_port: allow a port to be opened with a tty that has no file handle
Alan Cox
1
-1
/
+1
2017-01-19
tty: move the non-file related parts of tty_release to new tty_release_struct
Rob Herring
1
-18
/
+32
2016-05-09
Merge 4.6-rc7 into tty-next
Greg Kroah-Hartman
1
-3
/
+3
2016-04-30
tty: Remove stale parameter comment
Peter Hurley
1
-1
/
+0
2016-04-30
tty: Remove unused TTY_NUMBER() macro
Peter Hurley
1
-3
/
+0
2016-04-30
tty: Replace TTY_IO_ERROR bit tests with tty_io_error()
Peter Hurley
1
-3
/
+2
2016-04-26
devpts: more pty driver interface cleanups
Linus Torvalds
1
-3
/
+3
2016-03-31
tty: Fix merge of "tty: Refactor tty_open()"
Peter Hurley
1
-2
/
+1
2016-03-31
tty: Fix UML console breakage
Peter Hurley
1
-1
/
+1
2016-01-28
tty: Fix ioctl(FIOASYNC) on hungup file
Peter Hurley
1
-2
/
+3
2016-01-28
tty: Add fasync() hung up file operation
Peter Hurley
1
-0
/
+6
2016-01-28
tty, n_tty: Remove fasync() ldisc notification
Peter Hurley
1
-8
/
+0
2016-01-27
tty: Make tty_files_lock per-tty
Peter Hurley
1
-13
/
+12
2016-01-27
tty: Move tty_check_change() helper
Peter Hurley
1
-0
/
+6
2016-01-27
tty: Eliminate global symbol tty_ldisc_N_TTY
Peter Hurley
1
-1
/
+1
2016-01-27
tty: Unexport system-wide tty_mutex
Peter Hurley
1
-3
/
+1
2016-01-27
tty: Document c_line == N_TTY initial condition
Peter Hurley
1
-1
/
+2
2016-01-27
tty: Destroy ldisc instance on hangup
Peter Hurley
1
-6
/
+6
2016-01-27
tty: Use 'disc' for line discipline index name
Peter Hurley
1
-3
/
+3
2016-01-27
tty: Prepare for destroying line discipline on hangup
Peter Hurley
1
-0
/
+14
2016-01-27
tty: Reset c_line from driver's init_termios
Peter Hurley
1
-2
/
+3
2016-01-27
tty: Refactor tty_open()
Peter Hurley
1
-53
/
+67
2016-01-27
tty: Consolidate noctty checks in tty_open()
Peter Hurley
1
-9
/
+8
2016-01-27
tty: Re-declare tty_driver_remove_tty() file scope
Peter Hurley
1
-1
/
+1
2016-01-27
tty: Fix tty_init_termios() declaration
Peter Hurley
1
-9
/
+4
[next]