commit | a7c8d58c79853adeebf0a1ddc9c63e433b4d97f1 | [log] [tgz] |
---|---|---|
author | Peter Hurley <peter@hurleysoftware.com> | Sat Jun 15 09:36:15 2013 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Jul 23 16:47:10 2013 -0700 |
tree | 328d40837fb13c7856d3aae2be663093fa6278e0 | |
parent | 47aa658a015440906def231f54685c4d5d49dc38 [diff] |
tty: Fix unsafe vt paste_selection() Convert the tty_buffer_flush() exclusion mechanism to a public interface - tty_buffer_lock/unlock_exclusive() - and use the interface to safely write the paste selection to the line discipline. Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>