From: Peter Hurley Date: Sat, 15 Jun 2013 13:36:15 +0000 (-0400) Subject: tty: Fix unsafe vt paste_selection() X-Git-Tag: v3.12-rc1~182^2~183 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7c8d58c79853adeebf0a1ddc9c63e433b4d97f1;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed