diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2013-06-15 15:36:15 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-24 01:47:10 +0200 |
commit | a7c8d58c79853adeebf0a1ddc9c63e433b4d97f1 (patch) | |
tree | 328d40837fb13c7856d3aae2be663093fa6278e0 /kernel/nsproxy.c | |
parent | tty: Merge __tty_flush_buffer() into lone call site (diff) | |
download | linux-a7c8d58c79853adeebf0a1ddc9c63e433b4d97f1.tar.xz linux-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 'kernel/nsproxy.c')
0 files changed, 0 insertions, 0 deletions