Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp806986pxb; Tue, 2 Feb 2021 19:34:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJzF228iYC+kcQz+Wl91GyjtfN1ZXSDRMwstom/BqmGdi1eX98QbYx66iMMEZ1WLMex5tL8w X-Received: by 2002:a05:6402:1809:: with SMTP id g9mr1103190edy.2.1612323297763; Tue, 02 Feb 2021 19:34:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612323297; cv=none; d=google.com; s=arc-20160816; b=vEWf0R+1AdUvwbT0AEXTv/ifFlB0hNSZ7oHe+QwdlugBKyXBFvfH5qch8gz4zXv0wX wDRl2qmZYC0Gj2V9Eq8ssi+yDdtzxNF+AA5wHEK4sm7/rQWBsV1ZP3iDQU+StwmGq7mI Say5JEgeoS78ijq6aXqOUm7nlMb9L150b3UVOg6ktzjB8dkyxnKcJ5cl8zV1PM6Ly7P5 15rrQtqnOssq7A780Fsc0SNm45OI24sEPgrzdnwTaASBtL1UJpUKUMxpV1eERK2x0gH4 0MAWR0+tQ+od3m26vNinY7gKLcPbQpcOh0SsFmcv7rQkpdGnalJIm7cyXAyQ3nbknAmn OhSA== 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:dkim-signature; bh=qwvCwcChuxtahpY7NTqPCpmTFzPp7YMpsonMHOpWMJs=; b=Qh3YnxYyyx0Tv3wiEgDip1QzQfi+jM2fK1lZw6h5y8s7JCf+nNLgA4jDpErKCe0n6y GneBUM+eTPemSoCwJum/lGbqxoWvM/qE0o/fooAKb39ocgDNs5v55kkc4bA3zDs0ASTf 3PWUvK3dKY0ROCYeahEHm/FicEuWRbAuRKNGFEXNfHD55Mk9llbGpPhOAQu5olLu0oCU XqRwoP6YbcZ0rI/UBrec1Q1bVkkSP44YCo6UwHBU3Wpa/wVqNSLctLYUthaIy2XY29oE dM6Ae0vnSeQ530FaiktVDZgrjw6vbSbmyLYJYpqdSUDgZkwshC3B3l/0S9q/YgyQy2/b 2n8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=merlin.20170209 header.b=v0LWgPEV; 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 e6si596602edz.362.2021.02.02.19.34.16; Tue, 02 Feb 2021 19:34:57 -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; dkim=pass header.i=@infradead.org header.s=merlin.20170209 header.b=v0LWgPEV; 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 S233018AbhBCDck (ORCPT + 99 others); Tue, 2 Feb 2021 22:32:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232735AbhBCDbC (ORCPT ); Tue, 2 Feb 2021 22:31:02 -0500 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D751AC0617AA for ; Tue, 2 Feb 2021 19:30:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description; bh=qwvCwcChuxtahpY7NTqPCpmTFzPp7YMpsonMHOpWMJs=; b=v0LWgPEVfKiboGCZFhUvlemZX2 3SKMqGZFjp378WH+F8vozQGEWbrjScFkTP1F1N1iCOHknl28nj3/VeyIRwNJ8OEwdJ6KbhLNJqE5h +uCFW+BdTB5gL5SIhY8Zg2X0KYN3hdDxJ85Dk57Jbin7KaJaTw/V3pCFXRGoaWhrJPS2PqJislbYa 10SuJFausicUvheoY/yH/LVHKopcTtbpC7X+WXfw9uUb2FDP+JR1g/wGGNxMONnudIl/GCWMx+i9d u5iaj8XcMRNq+AjPx2+JJBNqrSKGMqy47M8kb6KhZKtm2nmD7/1TPPgMC0AieE85XCoMjnf7sEBzh nnXKieWQ==; Received: from [2601:1c0:6280:3f0::2a53] by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1l78s9-0001XB-I1; Wed, 03 Feb 2021 03:30:29 +0000 Subject: Re: [PATCH][RESEND] lib/vsprintf: make-printk-non-secret printks all addresses as unhashed To: Sergey Senozhatsky , Timur Tabi Cc: Petr Mladek , Steven Rostedt , linux-kernel@vger.kernel.org, vbabka@suse.cz, linux-mm@kvack.org, willy@infradead.org, akpm@linux-foundation.org, torvalds@linux-foundation.org, roman.fietze@magna.com, keescook@chromium.org, john.ogness@linutronix.de, akinobu.mita@gmail.com References: <20210202213633.755469-1-timur@kernel.org> From: Randy Dunlap Message-ID: <702f6f68-7455-337b-e0f3-6947a51c142e@infradead.org> Date: Tue, 2 Feb 2021 19:30:23 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 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 2/2/21 7:24 PM, Sergey Senozhatsky wrote: > On (21/02/02 15:36), Timur Tabi wrote: >> If the make-printk-non-secret command-line parameter is set, then >> printk("%p") will print addresses as unhashed. This is useful for >> debugging purposes. >> >> A large warning message is displayed if this option is enabled, >> because unhashed addresses, while useful for debugging, exposes >> kernel addresses which can be a security risk. >> >> Signed-off-by: Timur Tabi > > Looks good to me. > > Acked-by: Sergey Senozhatsky > > -ss Acked-by: Randy Dunlap thanks. -- ~Randy