vt: Fix secure clear screen
authorPetr Písař <petr.pisar@atlas.cz>
Thu, 6 Feb 2014 20:01:23 +0000 (21:01 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 22 Feb 2014 21:32:26 +0000 (13:32 -0800)
commit0f37eca655d4e2dbb7c7432b74fcb1bf446293e9
tree6f5477ea1099298656717b71e528ead9734e30e7
parent7d1489786d4c011215407a63f671d83c830d6ab7
vt: Fix secure clear screen

commit 0930b0950a8996aa88b0d2ba4bb2bab27cc36bc7 upstream.

\E[3J console code (secure clear screen) needs to update_screen(vc)
in order to write-through blanks into off-screen video memory.

This has been removed accidentally in 3.6 by:

commit 81732c3b2fede049a692e58a7ceabb6d18ffb18c
Author: Jean-François Moine <moinejf@free.fr>
Date:   Thu Sep 6 19:24:13 2012 +0200

    tty vt: Fix line garbage in virtual console on command line edition

Signed-off-by: Petr Písař <petr.pisar@atlas.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/vt.c