diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2013-06-15 09:36:15 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-23 16:47:10 -0700 |
commit | a7c8d58c79853adeebf0a1ddc9c63e433b4d97f1 (patch) | |
tree | 328d40837fb13c7856d3aae2be663093fa6278e0 /ipc | |
parent | 47aa658a015440906def231f54685c4d5d49dc38 (diff) | |
download | lwn-a7c8d58c79853adeebf0a1ddc9c63e433b4d97f1.tar.gz lwn-a7c8d58c79853adeebf0a1ddc9c63e433b4d97f1.zip |
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>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions