Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757096Ab1DMPJE (ORCPT ); Wed, 13 Apr 2011 11:09:04 -0400 Received: from cantor.suse.de ([195.135.220.2]:36418 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752818Ab1DMPJC (ORCPT ); Wed, 13 Apr 2011 11:09:02 -0400 Date: Wed, 13 Apr 2011 08:01:13 -0700 From: Greg KH To: Petr =?utf-8?B?UMOtc2HFmQ==?= Cc: Alan Cox , linux-kernel@vger.kernel.org, Artem Bityutskiy Subject: Re: [PATCH] Clean console safely Message-ID: <20110413150113.GA8121@suse.de> References: <1302705651.2768.21.camel@localhost> <1302706473-16519-1-git-send-email-ppisar@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1302706473-16519-1-git-send-email-ppisar@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 779 Lines: 20 On Wed, Apr 13, 2011 at 04:54:33PM +0200, Petr Písař wrote: > Traditional \E[2J sequence erases console display but scroll-back > buffer and underlying device (frame) buffer keep data that can be > accessed by scrolling console back. > > This patch introduce new \E[J parameter 3 that allows to scramble > scroll-back buffer explicitly. Session locking programs (screen, > vlock) can use it to prevent attacker to browse locked console > history. Is this also documented somewhere so that people know about it? thanks, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/