Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp533835pxb; Wed, 27 Jan 2021 14:09:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJxpUQ0b7blWxMQ0f2BaZHRvVyoeyBas6XhdW7dqIsp6w85df+MuKS+UOYDhoEFNSBHKBMhL X-Received: by 2002:a17:906:3b82:: with SMTP id u2mr8558143ejf.66.1611785392751; Wed, 27 Jan 2021 14:09:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611785392; cv=none; d=google.com; s=arc-20160816; b=iHswq5rOsvCGKfyb3ETsZmxrJHIKwacb5epDqUzAFlzcn6TMPxyDgQEbt9brQdrvX1 dXHFYx3qxh9TzFGXMKtIiERuQ8Y+PDNiFO2c2i2p+nLIHSvFZqyspDMCq50xIVj+0XMR tX9lMeZErBB3pOMnJwNUPo20eJ4NUmqClhu7y/Kgu+M4tsJfwdWunzSsxy+H/V2fO1yi e+/U36RyGWgRv7QYaoverKUfRJRi/rbLDm5BPIM1vGN+1ldj6BAL9cN8z0Rd536a6C94 r+zJT9BjUNi5Ufk1E1lh20USmC7oxmYIQjjrVCHe2Sltc6ug0ZK3MlwLcA2WRFcDEkIE VJZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=D7ltG81zll4YMeXgfF+LEJysNJvSl4seIf0sHlTYNzM=; b=e0znI27BSkZRvCpXUfnZQRhLymIwV7sCD9Rfb9tmXserSoS4QoMQnQvcwNP6myNbpu hh4O7WloaR/iZfRWNGhfZG7XRAMeaPrxf3zsvi1aXA7DlS9gksN5AeiK9b+pIV/DNBgU 1+XTnlcnCvnFh7MjNhgY2Ckn+TBMJwJ2U3mFA6X6hf8aqCJUSpHNFhtm071AWPGIVoJj 0sFzzWdY0nvnTD+6Wiw2LYiEcpUlGhcZcX4wDbQWNsNRN5dxiNtATe6tROZXT7W7KX+7 NlzJER5iWrmYnK71ESjMqWt2zpR/XNzfUkzpH5yGbd2oOHySSiCvSxik+jkbf1Zus/0j w13Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i22si1393116ejb.513.2021.01.27.14.09.27; Wed, 27 Jan 2021 14:09:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235967AbhA0Klw (ORCPT + 99 others); Wed, 27 Jan 2021 05:41:52 -0500 Received: from mx2.suse.de ([195.135.220.15]:34804 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236028AbhA0KjA (ORCPT ); Wed, 27 Jan 2021 05:39:00 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 3E383AD57; Wed, 27 Jan 2021 10:38:18 +0000 (UTC) Subject: Re: [PATCH 0/2] introduce DUMP_PREFIX_UNHASHED for hex dumps To: Petr Mladek , Steven Rostedt Cc: Timur Tabi , Sergey Senozhatsky , Matthew Wilcox , Andrew Morton , linux-kernel@vger.kernel.org, torvalds@linux-foundation.org, roman.fietze@magna.com, keescook@chromium.org, John Ogness , linux-mm@kvack.org, Akinobu Mita References: <20210119014725.GH2260413@casper.infradead.org> <09c70d6b-c989-ca23-7ee8-b404bb0490f0@suse.cz> <083dd940-60c1-4cc8-fc89-8815b253d5c5@suse.cz> <20210126123912.23a5c3a1@gandalf.local.home> <20210126124032.0915f408@gandalf.local.home> From: Vlastimil Babka Message-ID: Date: Wed, 27 Jan 2021 11:38:17 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/27/21 11:11 AM, Petr Mladek wrote: > On Tue 2021-01-26 12:40:32, Steven Rostedt wrote: >> On Tue, 26 Jan 2021 12:39:12 -0500 >> Steven Rostedt wrote: >> >> > On Tue, 26 Jan 2021 11:30:02 -0600 >> > Timur Tabi wrote: >> > >> > > On 1/26/21 11:14 AM, Vlastimil Babka wrote: >> > > > If it was a boot option, I would personally be for leaving hashing enabled by >> > > > default, with opt-in boot option to disable it. >> > > >> > > A boot option would solve all my problems. I wouldn't need to recompile >> > > the kernel, and it would apply to all variations of printk. >> > >> > Should it be called "make-printk-insecure" > > Nit: This makes me feel that printk() might break (block) the system. > Please, make it more clear that it is about unveiling some secret > information, something like: > > "non-secret-printk" > "non-confidental-printk" > "unretricted-printk" > > I do not mind about the words order or using the > "make-printk-non-secret" form. Yeah, let's not be overly dramatic here. >> And even if we make this a boot time option, perhaps we should still >> include that nasty dmesg notice, which will let people know that the kernel >> has unhashed values. > > +1 If it's what it takes to have that option, fine :) > Best Regards, > Petr >