From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D63741382C5 for ; Mon, 5 Apr 2021 18:13:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0BADAE091D; Mon, 5 Apr 2021 18:13:21 +0000 (UTC) Received: from mail.muc.de (colin.muc.de [193.149.48.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6596AE08A2 for ; Mon, 5 Apr 2021 18:13:20 +0000 (UTC) Received: (qmail 82387 invoked by uid 3782); 5 Apr 2021 18:13:19 -0000 Received: from acm.muc.de (p4fe15c19.dip0.t-ipconnect.de [79.225.92.25]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Mon, 05 Apr 2021 20:13:18 +0200 Received: (qmail 5679 invoked by uid 1000); 5 Apr 2021 18:13:18 -0000 Date: Mon, 5 Apr 2021 18:13:18 +0000 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Console scrollback is back again! Message-ID: References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Submission-Agent: TMDA/1.3.x (Ph3nix) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Archives-Salt: 1e677466-e2c8-4f3d-bb0f-55b2731bf7da X-Archives-Hash: 470c5923d2094b5df424d66a4fa8bb0f Hello, Wol. On Mon, Apr 05, 2021 at 18:44:15 +0100, antlists wrote: > On 05/04/2021 18:12, Alan Mackenzie wrote: > > Bug reports and other comments are welcome, of course. > > > > If anybody would like the corresponding patch which works on 5.4.n, for n > >> = 80, that is available, too. > Why did it get removed from the kernel? Allegedly, there were security problems with it. I think the kernel people had a program which fired random inputs at lots of components, and noted when things went wrong; and things went wrong in the scroll back component. And they couldn't find anybody to look into these problems. That's the official position. I'm a bit more cynical about it. > If you want to get it back in, couldn't you ping Greg KH and get some > help - or even just advice - getting it accepted? I have no reason to believe all the "security problems" will have been resolved by my hacking. I took the algorithmic bits from 4.19.97 basically unchanged. Maybe there's not much enthusiasm for this feature, in which case I will keep it working for myself. Linux is basically unusable to me without it. There are probably quite a few patches to restore the scrollback floating around the web by now: the changes were not particularly difficult to anybody who knows the code, but getting to know the code was unusually difficult. We'll see how people react to it here, first. > Cheers, > Wol -- Alan Mackenzie (Nuremberg, Germany).