linux/drivers/staging/speakup
Ben Hutchings ba39de398e Staging: speakup: Update __speakup_paste_selection() tty (ab)usage to match vt
commit 28a821c306 upstream.

This function is largely a duplicate of paste_selection() in
drivers/tty/vt/selection.c, but with its own selection state.  The
speakup selection mechanism should really be merged with vt.

For now, apply the changes from 'TTY: vt, fix paste_selection ldisc
handling', 'tty: Make ldisc input flow control concurrency-friendly',
and 'tty: Fix unsafe vt paste_selection()'.

References: https://bugs.debian.org/735202
References: https://bugs.debian.org/744015
Reported-by: Paul Gevers <elbrus@debian.org>
Reported-and-tested-by: Jarek Czekalski <jarekczek@poczta.onet.pl>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2014-06-11 11:54:12 -07:00
..
buffers.c Staging: speakup: buffers.c: checkpatch.pl fixes 2013-01-17 13:31:07 -08:00
DefaultKeyAssignments Staging: add speakup to the staging directory 2010-10-07 19:22:31 -07:00
devsynth.c staging: speakup: fix warnings by adding __user annotations 2013-05-22 15:35:52 -07:00
fakekey.c staging: speakup: Turn some symbols static 2013-01-07 14:08:15 -08:00
i18n.c staging: speakup: i18n: remove custom locking macros 2013-05-16 16:11:08 -07:00
i18n.h staging: speakup: Prefix externally-visible symbols 2013-01-07 14:06:31 -08:00
Kconfig Staging: speakup: Add dependencies for ISA card drivers 2013-09-17 07:47:45 -07:00
keyhelp.c Staging: speakup: keyhelp.c: checkpatch.pl fixes 2013-01-17 13:31:07 -08:00
kobjects.c Staging: speakup: replacing simple_strtoul with kstrtoul 2013-10-19 14:51:06 -07:00
main.c Staging: speakup: Move pasting into a work item 2014-06-11 11:54:11 -07:00
Makefile Staging: speakup: Makefile: Makefile clean up 2010-10-08 07:26:24 -07:00
selection.c Staging: speakup: Update __speakup_paste_selection() tty (ab)usage to match vt 2014-06-11 11:54:12 -07:00
serialio.c drivers: staging: speakup: serialio: only use platform specific SERIAL_PORT_DFNS. 2013-11-11 16:22:17 -08:00
serialio.h drivers: staging: speakup: serialio: only use platform specific SERIAL_PORT_DFNS. 2013-11-11 16:22:17 -08:00
speakup.h Staging: speakup: Move pasting into a work item 2014-06-11 11:54:11 -07:00
speakup_acnt.h staging "speakup" Fix typos. 2012-07-09 13:06:21 -07:00
speakup_acntpc.c Staging: speakup: removing jiffies comparison using time_after_eq() 2013-10-19 05:27:15 -07:00
speakup_acntsa.c staging: speakup: Prefix externally-visible symbols 2013-01-07 14:06:31 -08:00
speakup_apollo.c Staging: speakup: removing jiffies comparison in speakup_apollo.c 2013-10-19 05:27:19 -07:00
speakup_audptr.c staging: speakup: str initialization replaced with NULL where it was initialized with int 2013-10-03 13:50:54 -07:00
speakup_bns.c staging: speakup: Prefix externally-visible symbols 2013-01-07 14:06:31 -08:00
speakup_decext.c staging: speakup: decext: remove custom locking macros 2013-05-16 16:11:10 -07:00
speakup_decpc.c Staging: speakup: Return NULL instead of 0 in speakup_decpc.c 2013-05-16 16:17:29 -07:00
speakup_dectlk.c staging: speakup: dectlk: remove custom locking macros 2013-05-16 16:14:47 -07:00
speakup_dtlk.c Staging: speakup/speakup_dtlk: Return NULL instead of 0 2013-05-22 15:35:38 -07:00
speakup_dtlk.h Staging: add speakup to the staging directory 2010-10-07 19:22:31 -07:00
speakup_dummy.c staging: speakup: Prefix externally-visible symbols 2013-01-07 14:06:31 -08:00
speakup_keypc.c Staging: speakup/speakup_keypc: Return NULL instead of 0 2013-05-22 15:35:38 -07:00
speakup_ltlk.c staging: speakup: Prefix externally-visible symbols 2013-01-07 14:06:31 -08:00
speakup_soft.c staging: speakup: fix warnings by adding __user annotations 2013-05-22 15:35:52 -07:00
speakup_spkout.c staging: speakup: Prefix externally-visible symbols 2013-01-07 14:06:31 -08:00
speakup_txprt.c staging: speakup: Prefix externally-visible symbols 2013-01-07 14:06:31 -08:00
speakupmap.h Staging: add speakup to the staging directory 2010-10-07 19:22:31 -07:00
speakupmap.map Staging: add speakup to the staging directory 2010-10-07 19:22:31 -07:00
spk_priv.h staging: speakup: remove custom locking macro definitions 2013-05-16 16:14:50 -07:00
spk_priv_keyinfo.h staging: speakup: enlosed macros with complex values in parenthesis 2011-02-04 13:01:02 -08:00
spk_types.h staging: speakup: enlosed macros with complex values in parenthesis 2011-02-04 13:01:02 -08:00
spkguide.txt Fix common misspellings 2011-03-31 11:26:23 -03:00
synth.c Staging: speakup: Fix return value in synth.c 2013-05-16 16:17:30 -07:00
thread.c staging: speakup: thread: remove custom locking macros 2013-05-16 16:14:49 -07:00
TODO Staging: add speakup to the staging directory 2010-10-07 19:22:31 -07:00
varhandlers.c staging: speakup: remove unnecessary space before semicolon 2013-10-14 09:15:27 -07:00