aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/tty_ldisc.c
AgeCommit message (Expand)AuthorFilesLines
2024-05-04tty: add the option to have a tty reject a new ldiscLinus Torvalds1-0/+6
2023-03-09tty: tty_ldisc: Remove the ret variableLi zeming1-2/+1
2022-11-03tty: Move sysctl setup into "core" tty logicKees Cook1-37/+1
2021-11-26tty: reformat kernel-doc in tty_ldisc.cJiri Slaby1-160/+132
2021-09-14tty: unexport tty_ldisc_releaseJiri Slaby1-1/+0
2021-06-09tty: tty_ldisc: fix doc warnings in tty_ldisc.cBaokun Li1-2/+1
2021-05-13tty: return void from tty_unregister_ldiscJiri Slaby1-3/+1
2021-05-13tty: drop tty_ldisc_ops::refcountJiri Slaby1-11/+3
2021-05-13tty: make tty_ldisc_ops a param in tty_unregister_ldiscJiri Slaby1-6/+3
2021-05-13tty: set tty_ldisc_ops::num staticallyJiri Slaby1-4/+3
2021-04-15tty: create internal tty.h fileGreg Kroah-Hartman1-0/+1
2021-04-10tty: tty_ldisc: Remove the repeated word 'the'Xiaofei Tan1-1/+1
2021-04-10tty: tty_ldisc: Do not use assignment in if conditionXiaofei Tan1-1/+2
2021-04-10tty: tty_ldisc: Fix coding style issues of block commentsXiaofei Tan1-12/+20
2021-04-10tty: tty_ldisc: Add a blank line after declarationsXiaofei Tan1-0/+2
2021-04-10tty: tty_ldisc: Fix an issue of code indent should use tabsXiaofei Tan1-1/+1
2020-11-13tty: tty_ldisc: Fix some kernel-doc related misdemeanoursLee Jones1-5/+5
2020-11-06tty: tty_ldisc: Supply missing description for 'tty_ldisc_get's 'tty' paramLee Jones1-0/+1
2020-08-18tty: fix kernel-docJiri Slaby1-2/+1
2019-10-04tty_ldisc: simplify tty_ldisc_autoload initializationPavel Machek1-6/+1
2019-07-18proc/sysctl: add shared variables for range checkMatteo Croce1-4/+2
2019-06-17locking/lockdep: Rename lockdep_assert_held_exclusive() -> lockdep_assert_hel...Nikolay Borisov1-4/+4
2019-01-30tty: ldisc: add sysctl to prevent autoloading of ldiscsGreg Kroah-Hartman1-0/+47
2018-12-05tty/ldsem: Add lockdep asserts for ldisc_semDmitry Safonov1-0/+9
2018-12-05tty: Don't block on IO when ldisc change is pendingDmitry Safonov1-0/+7
2018-05-16proc: introduce proc_create_seq{,_data}Christoph Hellwig1-14/+1
2018-04-25tty: Use __GFP_NOFAIL for tty_ldisc_get()Tetsuo Handa1-6/+5
2018-04-23tty: Don't call panic() at tty_ldisc_init()Tetsuo Handa1-2/+3
2018-04-23tty: Avoid possible error pointer dereference at tty_ldisc_restore().Tetsuo Handa1-8/+5
2018-02-11vfs: do bulk POLL* -> EPOLL* replacementLinus Torvalds1-2/+2
2018-01-23tty: fix data race between tty_init_dev and flush of bufGaurav Kohli1-2/+2
2017-11-13Merge tag 'tty-4.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...Linus Torvalds1-0/+1
2017-11-08tty: add SPDX identifiers to all remaining files in drivers/tty/Greg Kroah-Hartman1-0/+1
2017-10-13tty: fall back to N_NULL if switching to N_TTY fails during hangupJohannes Weiner1-6/+5
2017-07-03Merge tag 'tty-4.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...Linus Torvalds1-14/+30
2017-06-03tty: handle the case where we cannot restore a line disciplineAlan Cox1-14/+30
2017-05-16staging: speakup: add tty-based comms functionsOkash Khawaja1-0/+2
2017-04-14Revert "tty: don't panic on OOM in tty_set_ldisc()"Greg Kroah-Hartman1-16/+69
2017-03-17tty: fix data race in tty_ldisc_ref_wait()Dmitry Vyukov1-2/+5
2017-03-17tty: don't panic on OOM in tty_set_ldisc()Dmitry Vyukov1-69/+16
2016-01-27tty: Eliminate global symbol tty_ldisc_N_TTYPeter Hurley1-6/+0
2016-01-27tty: Avoid unnecessary temporaries for tty->ldiscPeter Hurley1-5/+2
2016-01-27tty: Destroy ldisc instance on hangupPeter Hurley1-23/+17
2016-01-27tty: Refactor tty_ldisc_reinit() for reusePeter Hurley1-22/+31
2016-01-27tty: Use 'disc' for line discipline index namePeter Hurley1-11/+11
2016-01-27tty: Move tty_ldisc_kill()Peter Hurley1-13/+19
2016-01-27tty: Handle NULL tty->ldiscPeter Hurley1-4/+12
2016-01-27tty: Prepare for destroying line discipline on hangupPeter Hurley1-2/+2
2016-01-27tty: Fix comments for tty_ldisc_release()Peter Hurley1-2/+1
2016-01-27tty: Fix comments for tty_ldisc_get()Peter Hurley1-3/+10
2016-01-27tty: Reset c_line from driver's init_termiosPeter Hurley1-3/+0
2016-01-27tty: Remove __lockfunc annotation from tty lock functionsPeter Hurley1-9/+7
2016-01-27tty: Fix ldisc leak in failed tty_init_dev()Peter Hurley1-2/+3
2015-12-13tty: Prevent ldisc drivers from re-using stale tty fieldsPeter Hurley1-0/+7
2015-12-13tty: Simplify tty_set_ldisc() exit handlingPeter Hurley1-29/+13
2015-12-13tty/tty_ldisc: Deinline tty_ldisc_put, save 368 bytesDenys Vlasenko1-1/+1
2015-11-20tty: Fix direct use of tty buffer workPeter Hurley1-1/+1
2015-10-17tty: remove unneeded return statementGuillaume Gomez1-1/+1
2015-07-23tty: core: Improve ldisc debug messagesPeter Hurley1-5/+6
2015-07-23tty: Use tty_debug() for tty_ldisc_debug()Peter Hurley1-3/+1
2015-05-06tty: remove buf parameter from tty_name()Rasmus Villemoes1-5/+3
2014-11-06tty: Allow safe access to termios for set_ldisc() handlersPeter Hurley1-1/+4
2014-11-05tty: Flush ldisc buffer atomically with tty flip buffersPeter Hurley1-7/+5
2014-11-05tty: Fix timeout on pty set ldiscPeter Hurley1-17/+4
2014-11-05tty: Fix hung task on pty hangupPeter Hurley1-2/+20
2014-11-05tty: Prefix tty_ldisc_{lock,lock_nested,unlock} functionsPeter Hurley1-12/+12
2014-11-05tty: Simplify tty_ldisc_release() interfacePeter Hurley1-8/+7
2014-11-05tty: Remove TTY_HUPPINGPeter Hurley1-2/+1
2014-11-05tty: Invert tty_lock/ldisc_sem lock orderPeter Hurley1-4/+3
2014-11-05tty: Don't hold tty_lock for ldisc releasePeter Hurley1-4/+2
2014-01-07tty: delete non-required instances of include <linux/init.h>Paul Gortmaker1-1/+0
2013-07-23tty: Convert termios_mutex to termios_rwsemPeter Hurley1-5/+5
2013-07-23tty: Don't change receive_room for ioctl(TIOCSETD)Peter Hurley1-3/+0
2013-07-23tty: Clarify multiple-references comment in TIOCSETD ioctlPeter Hurley1-4/+6
2013-07-23tty: Fix hangup race with TIOCSETD ioctlPeter Hurley1-4/+2
2013-07-23tty: Clarify ldisc variablePeter Hurley1-7/+7
2013-07-23tty: Replace ldisc locking with ldisc_semPeter Hurley1-283/+46
2013-07-23tty: Add lock/unlock ldisc pair functionsPeter Hurley1-0/+87
2013-07-23tty: Fix tty_ldisc_lock name collisionPeter Hurley1-23/+23
2013-03-18tty: Remove redundant tty_wait_until_sent()Peter Hurley1-9/+0
2013-03-18tty: Locate get/put ldisc functions togetherPeter Hurley1-23/+23
2013-03-18tty: Fold one-line assign function into callersPeter Hurley1-25/+6
2013-03-18tty: Document unsafe ldisc reference acquirePeter Hurley1-9/+5
2013-03-18tty: Separate release semantics of ldisc referencePeter Hurley1-34/+35
2013-03-18tty: Add ldisc hangup debug messagesPeter Hurley1-0/+19
2013-03-18tty: Fix 'deferred reopen' ldisc commentPeter Hurley1-4/+5
2013-03-18tty: Make core responsible for synchronizing its workPeter Hurley1-20/+4
2013-03-18tty: Complete ownership transfer of flip buffersPeter Hurley1-35/+12
2013-03-18tty: Don't reenable already enabled ldiscPeter Hurley1-1/+1
2013-03-18tty: Wait for SAK work before waiting for hangup workPeter Hurley1-1/+1
2013-03-18tty: Halt both ldiscs concurrentlyPeter Hurley1-13/+25
2013-03-18tty: Strengthen no-subsequent-use guarantee of tty_ldisc_halt()Peter Hurley1-18/+24
2013-03-18tty: Relocate tty_ldisc_halt() to avoid forward declarationPeter Hurley1-23/+23
2013-03-18tty: Fix ldisc halt sequence on hangupPeter Hurley1-20/+19
2013-03-18tty: Remove unnecessary re-test of ldisc ref countPeter Hurley1-19/+19
2013-03-18tty: Refactor wait for ldisc refs out of tty_ldisc_hangup()Peter Hurley1-18/+36
2013-03-18tty: Add diagnostic for halted line disciplinePeter Hurley1-1/+6
2013-01-15tty: don't deadlock while flushing workqueueSebastian Andrzej Siewior1-5/+5
2013-01-15tty: Only wakeup the line discipline idle queue when queue is activeIvo Sieben1-1/+3
2012-10-24tty: Use raw spin lock to protect TTY ldisc administrationIvo Sieben1-16/+16
2012-10-22TTY: move tty buffers to tty_portJiri Slaby1-5/+5
2012-10-22TTY: ldisc, wait for idle ldisc in releaseJiri Slaby1-0/+5
2012-10-02Merge branch 'for-3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wqLinus Torvalds1-3/+3
2012-08-20workqueue: deprecate flush[_delayed]_work_sync()Tejun Heo1-3/+3
2012-08-10tty: localise the lockAlan Cox1-30/+39
2012-07-27tty: Fix race in tty releaseAlan Cox1-1/+2
2012-07-26tty ldisc: Close/Reopen race prevention should check the proper flagShachar Shemesh1-1/+1
2012-07-16tty: move the termios object into the ttyAlan Cox1-5/+5
2012-07-16tty: revert incorrectly applied lock patchAlan Cox1-38/+29
2012-07-12tty ldisc: Close/Reopen race prevention should check the proper flagShachar Shemesh1-1/+1
2012-07-06tty: localise the lockAlan Cox1-29/+38
2012-06-02tty: Revert the tty locking series, it needs more workLinus Torvalds1-38/+29
2012-05-29tty: fix ldisc lock inversion traceAlan Cox1-16/+25
2012-05-10tty: move global ldisc idle waitqueue to the individual ldiscIvo Sieben1-3/+4
2012-05-04tty_lock: Localise the lockAlan Cox1-15/+15
2011-11-26Merge 3.2-rc3 into tty-next to handle merge conflict in tty_ldisc.cGreg Kroah-Hartman1-7/+23
2011-11-17TTY: ldisc, remove some unneeded includesJiri Slaby1-19/+1
2011-11-17TTY: ldisc, wait for ldisc infinitely in hangupJiri Slaby1-2/+17
2011-11-17TTY: ldisc, move wait idle to callerJiri Slaby1-2/+2
2011-11-17TTY: ldisc, allow waiting for ldisc arbitrarily longJiri Slaby1-5/+6
2011-11-15tty_ldisc: remove unnecessary negative return check for wait_event_timeoutDave Young1-2/+0
2011-08-23TTY: remove tty_lockedJiri Slaby1-1/+0
2011-06-07TTY: ldisc, do not close until there are readersJiri Slaby1-1/+3
2011-04-19TTY: introduce deinit helpers for proper ldisc shutdownJiri Slaby1-0/+13
2011-03-22tty: stop using "delayed_work" in the tty layerLinus Torvalds1-7/+7
2011-03-16Merge branch 'config' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/bklLinus Torvalds1-2/+0
2011-03-02drivers: remove extraneous includes of smp_lock.hArnd Bergmann1-2/+0
2011-02-03tty_ldisc: don't use flush_scheduled_work()Tejun Heo1-2/+15
2010-11-29TTY: ldisc, fix open flag handlingJiri Slaby1-0/+2
2010-11-09tty_ldisc: Fix BUG() on hangupPhilippe Rétornaz1-7/+13
2010-11-09TTY: restore tty_ldisc_wait_idleJiri Slaby1-0/+29
2010-11-05TTY: create drivers/tty and move the tty core files thereGreg Kroah-Hartman1-0/+915