]> git.baikalelectronics.ru Git - kernel.git/commit
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>
Thu, 13 Feb 2014 19:12:00 +0000 (11:12 -0800)
commit3560607e288745c0433c8fcee2afcfb46a0feec3
tree95fc2097e45cdb076684bf11ad5be34ef769a618
parent195c8414c4dfd2e75b9f51403e1a4ac83ea70b49
vt: Fix secure clear screen

\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 65889cdf5a5abb180ddd04de11c3d82c6f5643c4
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>
Cc: stable <stable@vger.kernel.org> # 3.6
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/vt.c