Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2399136pxb; Tue, 9 Mar 2021 01:15:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJzOcDskXOZPNuuWfvg6jt+lrLuxvmt0atQRXgGqjH8wJvIg0s7rGAXQvt3UHNhW+IM9SU19 X-Received: by 2002:a17:906:3552:: with SMTP id s18mr19481377eja.497.1615281334621; Tue, 09 Mar 2021 01:15:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615281334; cv=none; d=google.com; s=arc-20160816; b=gGedSX0nrZBBcSMxFa1s3/1ZvXiiUFHK5Wq3JJ9gQgv3ax9i2EPlMRqFYLvVV1/sM5 H9Lb24iOK56gI9UQdIFcchDIfQHnCLA48dgMCWXa+QDvYVtaSyg7ng/UGOFSmx63edQo gdktd7DCrYp3yBtr5LFOUOSSBQoreGjXqssct0ZBd4qs1NZu/XMTxnOu1AiSkcv7OYhd CW9fJrI/avvJ+SqUx8JjQoUZ9zP4PjJV0iMON1q5S0EipyDQ1wlCDn1bS4Oydnu3rqbs jidlOi9sTqGlbqQ148N+g6mHSmwfUCkS0pblMlAzFTj5eR92Rduy/AdgGzgk14C4gobq 97Hw== 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 :mime-version:accept-language:in-reply-to:references:message-id:date :thread-index:thread-topic:subject:cc:to:from; bh=yD8qutXeUH86KaG3faVWQeePoBztPRdVIY0SupN/fEY=; b=0kwUCxo2fKYj1oZW5kyCKaPDqmQfN1+ygF4IknQVRoP+LooA8k2VY2EZMF8jvpY63V AeYzAvZwSTrVjO2hdpqIgw/d/fNR1mXRsdmfWfn8UglDGhnTSJs/thoi217brnXj5UyX C3XFSs+qy6/aGfrdU5lBJK+MFPv0xXHg9Mf0N+GFH5uShVtDkuaMZN1PBSznbc7K7axg 122yfM8Aun/EfP1Bupc0U7tkrQxhgmuHkg0nTA9NAbKYToSaDQ8adOy4Sc1xQ8GGyiqu 0roPSeUrZ7txLAtH8l1npXYKCpLgoukJT7zlF+ieC8fG9YzteZBjLUEmDt2RiEkNPIRp oS/A== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id fx8si8569038ejb.481.2021.03.09.01.15.12; Tue, 09 Mar 2021 01:15:34 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229881AbhCIJNA convert rfc822-to-8bit (ORCPT + 99 others); Tue, 9 Mar 2021 04:13:00 -0500 Received: from eu-smtp-delivery-151.mimecast.com ([185.58.86.151]:47683 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229639AbhCIJMp (ORCPT ); Tue, 9 Mar 2021 04:12:45 -0500 Received: from AcuMS.aculab.com (156.67.243.126 [156.67.243.126]) (Using TLS) by relay.mimecast.com with ESMTP id uk-mta-65-IhmyWhliOq6NmMDXu6s74g-1; Tue, 09 Mar 2021 09:12:42 +0000 X-MC-Unique: IhmyWhliOq6NmMDXu6s74g-1 Received: from AcuMS.Aculab.com (fd9f:af1c:a25b:0:43c:695e:880f:8750) by AcuMS.aculab.com (fd9f:af1c:a25b:0:43c:695e:880f:8750) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Tue, 9 Mar 2021 09:12:41 +0000 Received: from AcuMS.Aculab.com ([fe80::43c:695e:880f:8750]) by AcuMS.aculab.com ([fe80::43c:695e:880f:8750%12]) with mapi id 15.00.1347.000; Tue, 9 Mar 2021 09:12:40 +0000 From: David Laight To: 'Andy Shevchenko' , Marco Elver CC: Petr Mladek , Geert Uytterhoeven , Linux Kernel Mailing List , Vlastimil Babka , Timur Tabi , Steven Rostedt , Sergey Senozhatsky , Rasmus Villemoes Subject: RE: [PATCH 2/2] lib/vsprintf: reduce space taken by no_hash_pointers warning Thread-Topic: [PATCH 2/2] lib/vsprintf: reduce space taken by no_hash_pointers warning Thread-Index: AQHXFEobJ7Swwp6RcU2yBDODqe2J7ap7X8pg Date: Tue, 9 Mar 2021 09:12:40 +0000 Message-ID: References: <20210305194206.3165917-1-elver@google.com> <20210305194206.3165917-2-elver@google.com> In-Reply-To: Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=C51A453 smtp.mailfrom=david.laight@aculab.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ... > On Mon, Mar 08, 2021 at 07:23:34PM +0100, Marco Elver wrote: > > On Mon, 8 Mar 2021 at 18:23, Petr Mladek wrote: > > > > - pr_warn("**********************************************************\n"); > > > - pr_warn("** NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE **\n"); > > > - pr_warn("** **\n"); > > > - pr_warn("** This system shows unhashed kernel memory addresses **\n"); > > > - pr_warn("** via the console, logs, and other interfaces. This **\n"); > > > - pr_warn("** might reduce the security of your system. **\n"); > > > - pr_warn("** **\n"); > > > - pr_warn("** If you see this message and you are not debugging **\n"); > > > - pr_warn("** the kernel, report this immediately to your system **\n"); > > > > While we're here: This paragraph can be shortened by saying what > > kernel/trace/trace.c says ("..., report this immediately to your > > vendor!") which avoids the "administrator! ". > > Aren't we discussed that and the point was that kernel configuration option is > in administrator's realm? > > > > - pr_warn("** administrator! **\n"); > > > - pr_warn("** **\n"); > > > - pr_warn("** NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE **\n"); > > > - pr_warn("**********************************************************\n"); If you actually want anyone to notice it you need to splat it out when root logs in - not just hidden in the middle of the boot messages. David - Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales)