aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/pty.c
AgeCommit message (Expand)AuthorFilesLines
5 daysMerge tag 'tty-6.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...Linus Torvalds1-58/+45
14 daystty: convert ptm_open_peer() to FD_ADD()Christian Brauner1-33/+18
2025-11-21tty: pty: use guard()sJiri Slaby (SUSE)1-58/+45
2025-02-07fsnotify: use accessor to set FMODE_NONOTIFY_*Amir Goldstein1-1/+1
2023-08-11tty: make tty_operations::write()'s count size_tJiri Slaby (SUSE)1-1/+1
2023-08-11tty: propagate u8 data to tty_operations::write()Jiri Slaby (SUSE)1-1/+1
2023-04-03tty: make tty_class a static const structureGreg Kroah-Hartman1-1/+1
2022-08-30tty: Make ->set_termios() old ktermios constIlpo Järvinen1-1/+1
2022-07-08tty: use new tty_insert_flip_string_and_push_buffer() in pty_write()Jiri Slaby1-12/+2
2021-05-20tty: pty: correct function name pty_resize()Yang Yingliang1-1/+1
2021-05-20tty: pty: remove redundant initialization of variable fdColin Ian King1-1/+1
2021-05-13tty: remove tty_operations::chars_in_buffer for non-bufferingJiri Slaby1-17/+0
2021-05-13tty: make tty_operations::write_room return uintJiri Slaby1-1/+1
2021-05-13tty: cumulate and document tty_struct::ctrl* membersJiri Slaby1-31/+31
2021-05-13tty: cumulate and document tty_struct::flow* membersJiri Slaby1-2/+2
2021-04-15tty: create internal tty.h fileGreg Kroah-Hartman1-0/+1
2021-04-02tty: pty: Add a blank line after declarationsXiaofei Tan1-0/+4
2021-03-10Revert "drivers:tty:pty: Fix a race causing data loss on close"Greg Kroah-Hartman1-13/+2
2021-01-07drivers:tty:pty: Fix a race causing data loss on closeCorey Minyard1-2/+13
2021-01-07tty: pty, remove BUG_ON from pty_closeJiri Slaby1-1/+0
2020-11-06tty: pty: Provide descriptions for the 'file' parametersLee Jones1-0/+2
2020-09-04pty: do tty_flip_buffer_push without port->lock in pty_writeArtem Savkov1-1/+1
2020-08-18tty: fix kernel-docJiri Slaby1-1/+1
2018-10-13pty: fix compat ioctlsAl Viro1-2/+12
2018-07-21pty: fix O_CLOEXEC for TIOCGPTPEERMatthijs van Duin1-1/+1
2018-05-14tty: Fix data race in tty_insert_flip_string_fixed_flagDaeRyong Jeong1-0/+3
2018-02-11vfs: do bulk POLL* -> EPOLL* replacementLinus Torvalds1-2/+2
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-09-05Merge tag 'tty-4.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...Linus Torvalds1-1/+7
2017-08-28pty: show associative slave of ptmx in fdinfoMasatake YAMATO1-1/+7
2017-08-24pty: Repair TIOCGPTPEEREric W. Biederman1-37/+27
2017-08-23Revert "pty: fix the cached path of the pty slave file descriptor in the master"Linus Torvalds1-5/+2
2017-08-17pty: fix the cached path of the pty slave file descriptor in the masterLinus Torvalds1-2/+5
2017-07-17tty: hide unused pty_get_peer functionArnd Bergmann1-43/+42
2017-06-09tty: add TIOCGPTPEER ioctlAleksa Sarai1-4/+67
2017-06-09tty: add compat_ioctl callbacksAleksa Sarai1-0/+22
2017-03-17tty: pty: Fix ldisc flush after userspace become aware of the data alreadyWang YanQing1-6/+1
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-1/+1
2016-09-15pty: make ptmx file ops read-only after initKees Cook1-1/+1
2016-06-26devpts: fix null pointer dereference on failed memory allocationColin Ian King1-2/+5
2016-06-05devpts: Make each mount of devpts an independent filesystem.Eric W. Biederman1-7/+8
2016-05-09Merge 4.6-rc7 into tty-nextGreg Kroah-Hartman1-10/+8
2016-05-01Fix OpenSSH pty regression on closeBrian Bloniarz1-3/+1
2016-04-30tty: Replace TTY_IO_ERROR bit tests with tty_io_error()Peter Hurley1-1/+1
2016-04-26devpts: more pty driver interface cleanupsLinus Torvalds1-10/+8
2016-04-18devpts: clean up interface to pty driversLinus Torvalds1-33/+30
2016-02-14Merge 4.5-rc4 into tty-nextGreg Kroah-Hartman1-1/+20
2016-02-06pty: make sure super_block is still valid in final /dev/tty closeHerton R. Krzesinski1-3/+6
2016-02-06pty: fix possible use after free of tty->driver_dataHerton R. Krzesinski1-1/+17
2016-01-28tty: Use termios c_*flag macrosPeter Hurley1-2/+1
2016-01-27pty: Remove pty_unix98_shutdown()Peter Hurley1-10/+1
2016-01-27tty: Fix tty_init_termios() declarationPeter Hurley1-12/+3
2016-01-27tty: Fix ldisc leak in failed tty_init_dev()Peter Hurley1-3/+2
2015-12-13tty: Remove __func__ from tty_debug() macroPeter Hurley1-1/+1
2015-10-04drivers/tty: make pty.c slightly more explicitly non-modularPaul Gortmaker1-2/+5
2015-07-23pty: Add debug message for ptmx openPeter Hurley1-0/+8
2015-05-10pty: Fix input race when closingPeter Hurley1-2/+3
2015-02-02n_tty: Fix signal handling flushesPeter Hurley1-0/+1
2015-02-02pty: Fix buffer flush deadlockPeter Hurley1-1/+9
2015-02-02pty: Fix overlimit memory usePeter Hurley1-14/+3
2015-02-02tty: Prevent untrappable signals from malicious programPeter Hurley1-0/+3
2014-11-05pty, n_tty: Simplify input processing on final closePeter Hurley1-0/+1
2014-11-05pty: Don't drop pty master tty lock to hangup slavePeter Hurley1-2/+0
2014-11-05tty: Preset lock subclass for nested tty locksPeter Hurley1-0/+2
2014-11-05pty: Always return -EIO if slave BSD pty opened firstPeter Hurley1-2/+5
2014-11-05pty: Hold ctrl_lock for packet mode updatesPeter Hurley1-0/+2
2014-11-05pty: Fix packet mode setting racePeter Hurley1-1/+2
2014-11-05pty: Don't claim slave's ctrl_lock for master's packet modePeter Hurley1-4/+4
2014-11-05tty: Use spin_lock_irq() for ctrl_lock when interrupts enabledPeter Hurley1-6/+4
2014-11-05pty: Use spin_lock_irq() for pty_set_termios()Peter Hurley1-4/+2
2014-11-05tty: Move pty-specific set_termios() handling to pty driverPeter Hurley1-0/+28
2014-11-05tty: WARN for attempted set_termios() of pty masterPeter Hurley1-2/+0
2014-11-05tty: Replace open-coded tty_get_pgrp()Peter Hurley1-18/+6
2014-09-23tty: Move packet mode flow control notifications to pty driverPeter Hurley1-0/+41
2014-07-12drivers: tty: Fix use-after-free in pty_common_installRasmus Villemoes1-1/+1
2014-07-11drivers: tty: Merge alloc_tty_struct and initialize_tty_structRasmus Villemoes1-10/+9
2013-07-24tty: Fix lock order in tty_do_resize()Peter Hurley1-2/+2
2013-07-24tty: Remove extra wakeup from pty write() pathPeter Hurley1-3/+1
2013-07-23tty: Track flip buffer memory limit atomicallyPeter Hurley1-7/+3
2013-07-23tty: Convert termios_mutex to termios_rwsemPeter Hurley1-2/+2
2013-06-17tty: Fix transient pty write() EIOPeter Hurley1-8/+5
2013-05-01tty: fix up atime/mtime mess, take threeLinus Torvalds1-0/+3
2013-04-15TTY: pty, fix compilation warningJiri Slaby1-6/+6
2013-03-15pty: Remove redundant itty resetPeter Hurley1-1/+0
2013-02-04pty: Ignore slave open count for master pty openPeter Hurley1-1/+1
2013-02-04pty: Ignore slave pty close() if never successfully openedPeter Hurley1-0/+6
2013-02-04pty: Fix BUG()s when ptmx_open() errors outPeter Hurley1-3/+4
2013-01-25Merge 3.8-rc5 into tty-nextGreg Kroah-Hartman1-0/+2
2013-01-17pty: return EINVAL for TIOCGPTN for BSD ptysJiri Slaby1-0/+2
2013-01-15TTY: do not reset master's packet modeJiri Slaby1-1/+0
2013-01-15tty: cleanup checkpatch warning in pty.cCong Ding1-3/+3
2013-01-15tty: cleanup the panic messageCong Ding1-1/+1
2013-01-15TTY: switch tty_flip_buffer_pushJiri Slaby1-1/+1
2013-01-15TTY: switch tty_insert_flip_stringJiri Slaby1-1/+1
2012-11-21pty: Mark pty_resize staticJosh Triplett1-1/+1
2012-11-15TTY: pty, fix tty buffers leakJiri Slaby1-1/+1
2012-10-25tty: Add get- ioctls to fetch tty status v3Cyrill Gorcunov1-0/+21
2012-10-25tty: pty - Move TIOCPKT handling into pty.cCyrill Gorcunov1-0/+26
2012-10-22TTY: move tty buffers to tty_portJiri Slaby1-1/+1
2012-10-22TTY: add port -> tty linkJiri Slaby1-0/+2
2012-10-22TTY: move devpts kill to ptyJiri Slaby1-0/+9
2012-10-22TTY: devpts, do not set driver_dataJiri Slaby1-5/+5
2012-10-22TTY: devpts, return created inode from devpts_pty_newJiri Slaby1-2/+5
2012-10-22TTY: devpts, don't care about TTY in devpts_get_ttyJiri Slaby1-1/+1
2012-09-21pty: Fix locking bug on error pathAlan Cox1-1/+1
2012-08-16TTY: tty_alloc_driver() returns error pointersDan Carpenter1-4/+4
2012-08-13TTY: pty, switch to tty_alloc_driverJiri Slaby1-11/+20
2012-08-10TTY: pty, stop passing NULL to free_tty_structJiri Slaby1-1/+4
2012-08-10tty: localise the lockAlan Cox1-11/+14
2012-07-27tty: Fix race in tty releaseAlan Cox1-2/+23
2012-07-17tty: Move the handling of the tty release logicAlan Cox1-10/+2
2012-07-16tty: move the termios object into the ttyAlan Cox1-17/+6
2012-07-16tty: revert incorrectly applied lock patchAlan Cox1-12/+11
2012-07-12tty: double unlock on error in ptmx_open()Dan Carpenter1-3/+1
2012-07-06tty: localise the lockAlan Cox1-11/+14
2012-06-13PTY: add tty_portJiri Slaby1-4/+21
2012-06-13PTY: merge pty_install implementationsJiri Slaby1-65/+45
2012-06-13PTY: remove one empty ops->removeJiri Slaby1-7/+3
2012-06-02tty: Revert the tty locking series, it needs more workLinus Torvalds1-14/+11
2012-05-29pty: Fix lock inversionAlan Cox1-2/+0
2012-05-09tty: drop the pty lock during hangupAlan Cox1-0/+2
2012-05-04tty_lock: Localise the lockAlan Cox1-10/+13
2012-05-04pty: Lock the devpts bits privatelyAlan Cox1-4/+15
2012-03-28Remove all #inclusions of asm/system.hDavid Howells1-1/+0
2012-03-08TTY: remove re-assignments to tty_driver membersJiri Slaby1-4/+0
2012-02-24Revert "TTY: pty, remove superfluous ptm test"Greg Kroah-Hartman1-1/+4
2012-02-24Revert "TTY: get rid of BTM around devpts_*"Greg Kroah-Hartman1-2/+4
2012-02-02TTY: get rid of BTM around devpts_*Jiri Slaby1-4/+2
2012-02-02TTY: pty, remove superfluous ptm testJiri Slaby1-4/+1
2012-01-24tty: move pty count limiting into devptsKonstantin Khlebnikov1-51/+0
2012-01-24tty: cleanup prohibition of direct opening for unix98 pty masterKonstantin Khlebnikov1-5/+3
2011-11-17TTY: pty, cleanup the pty countingJiri Slaby1-17/+9
2011-10-26Merge branch 'tty-next' of git://git.kernel.org/pub/scm/linux/kernel/git/greg...Linus Torvalds1-10/+16
2011-10-18TTY: pty, release tty in all ptmx_open fail pathsJiri Slaby1-5/+5
2011-10-18TTY: make tty_add_file non-failingJiri Slaby1-5/+11
2011-08-23TTY: pty, fix pty countingJiri Slaby1-2/+15
2011-04-19tty: remove invalid location line in file headerJovi Zhang1-2/+0
2011-04-19TTY: plug in deinitialize_tty_structJiri Slaby1-2/+4
2011-04-19TTY: unify pty_unix98_install fail path handlingJiri Slaby1-6/+6
2011-04-19TTY: unify pty_install fail path handlingJiri Slaby1-9/+10
2011-03-16Merge branch 'config' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/bklLinus Torvalds1-1/+0
2011-03-02drivers: remove extraneous includes of smp_lock.hArnd Bergmann1-1/+0
2011-02-17tty: now phase out the ioctl file pointer for goodAlan Cox1-2/+2
2010-11-05TTY: create drivers/tty and move the tty core files thereGreg Kroah-Hartman1-0/+777