From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 31435C433E6 for ; Wed, 27 Jan 2021 10:11:15 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id AA85E206E2 for ; Wed, 27 Jan 2021 10:11:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AA85E206E2 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=suse.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id E505F6B0005; Wed, 27 Jan 2021 05:11:13 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id E01496B0006; Wed, 27 Jan 2021 05:11:13 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D16D36B0007; Wed, 27 Jan 2021 05:11:13 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0241.hostedemail.com [216.40.44.241]) by kanga.kvack.org (Postfix) with ESMTP id BA0C26B0005 for ; Wed, 27 Jan 2021 05:11:13 -0500 (EST) Received: from smtpin29.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 81AED1EF1 for ; Wed, 27 Jan 2021 10:11:13 +0000 (UTC) X-FDA: 77751137226.29.hope76_09092a127596 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin29.hostedemail.com (Postfix) with ESMTP id 64554180868C9 for ; Wed, 27 Jan 2021 10:11:13 +0000 (UTC) X-HE-Tag: hope76_09092a127596 X-Filterd-Recvd-Size: 3365 Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by imf12.hostedemail.com (Postfix) with ESMTP for ; Wed, 27 Jan 2021 10:11:12 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1611742271; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=yPf2iJr5KkXD7cHfhYBFDDhckcK1meh6Ewd51gOqfVA=; b=TcRl87hTHXiu0LMMLmcAeZugAde+Q45wqATiGZvDorIGR26b3XcTaRPcfpe8NVFEPaL1rR nIiUgDsci2VWtrvWSmmxD/jdeiI4qDKr7ILOVdd/WCTK7AssE85lTPosVzPDuXqqTEU4mH PToAbuFhI0ni1QfcSob3Us+oaWwG6/s= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 79988ADA2; Wed, 27 Jan 2021 10:11:11 +0000 (UTC) Date: Wed, 27 Jan 2021 11:11:10 +0100 From: Petr Mladek To: Steven Rostedt Cc: Timur Tabi , Vlastimil Babka , 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 Subject: Re: [PATCH 0/2] introduce DUMP_PREFIX_UNHASHED for hex dumps Message-ID: 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210126124032.0915f408@gandalf.local.home> X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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. > 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 Best Regards, Petr