Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp859420ybb; Wed, 8 Apr 2020 11:16:45 -0700 (PDT) X-Google-Smtp-Source: APiQypKJpB3BMSirj77U8t74DF6qjt029QfudRWNMw3w3OLPL/wblm7Es6nt1zHNO72zqxEPI0CW X-Received: by 2002:a05:6830:1f39:: with SMTP id e25mr6810853oth.135.1586369804361; Wed, 08 Apr 2020 11:16:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586369804; cv=none; d=google.com; s=arc-20160816; b=KHY1194hUFflwzxHLZDgUBU87Kbyz1/61Yhb/wZUn0RmtCC1KEUjeDCZSOSS0A6Zp6 gUQNZoYRMpilpBQ8QVE0tAr67PrVwq1CtAymWpYvFEnl9uV3Bbr85gFCwSyemlyKiA9U oePjTxXkz2wKovybTfQbSGqyINHAdvGXmVO3LZzeXMv3LcuVWj8GEdy8f5AQcrexDVCg FpkyTV1FPAPtVIQODTyJpPPNAMWgPlTXe8HmVoIf3CfXkO4++9GYVJKTHTIPYWO7zb3F zm5cSnCp7I69cicsB7tKN1OP3uGmNQp2T7p4PxcvnB5mclSkMfd+GCiTFgY0YdV6Vho0 p0fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=KvZGibvdFBA551zpY54wJDMqv1FNrib21JtR9KJeHpU=; b=H9K4cSr2VqjtMrhWnQNsxzP4hoDU6h7eQlo07r4IcOtFhOPjeCR9eVAZOdHOSkzbkJ jdLgnT6mI8yI5Rd/e1IN6Yp8Nf5Tk/uQEH/QykSbUNoVnOq24Td8ChA7QWQVhtLZ3ybQ s9FT/Xa9lFrujFq8VFfPt8hB9DgPgSFKcc6IgSpNC3iZo0gKz6seyANs9pqauSWwnaKx RGkiVLTZ6FxpZ30Lkbw09RAERdSVvF2cPeC0a12wWvczc/FmEtcLlwCKx6kiDlySbWWg rnUeYyC2hE1rp5bbFCYehZ67jSNP+M5SUPJEIsqI8OFfn5gLfZIHY5i8qgxIff1jCGbw 2nIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=BrAh2zqY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l20si1335359otk.308.2020.04.08.11.16.31; Wed, 08 Apr 2020 11:16:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=BrAh2zqY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729743AbgDHPxG (ORCPT + 99 others); Wed, 8 Apr 2020 11:53:06 -0400 Received: from mail-il1-f195.google.com ([209.85.166.195]:33573 "EHLO mail-il1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729566AbgDHPxG (ORCPT ); Wed, 8 Apr 2020 11:53:06 -0400 Received: by mail-il1-f195.google.com with SMTP id k29so7196427ilg.0 for ; Wed, 08 Apr 2020 08:53:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=KvZGibvdFBA551zpY54wJDMqv1FNrib21JtR9KJeHpU=; b=BrAh2zqYtuqTiIoh65WWnhD7RQu4nZSkqZMJlJOd8IKGw5bNwJpQmVjO1vRHWx5xeW EV81jwHO4+Go7JGhyXoX3JTCM4sC8Liznnbl2V1TZgs2GvIb8CvvjosmTBWj1h2wWSx4 Rjdp01wco61log7FoLX04jZY0Kk9XRYpXUdw+qLojeShj/R4zqafz2s8VW7WY1qAb8jW mucpvg/gYO8df04TB/uydF88XA5QWmo3M/Nyw7BuNJtYckU1qCgk4EfEOAD2AUiiQLEf F4oxjb47rEwaPDq60k3ivH/emyV4uOqjPTMHsOGDlak3FNJlxe4vF5ypTVU1GLWQE7Lc nkFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=KvZGibvdFBA551zpY54wJDMqv1FNrib21JtR9KJeHpU=; b=W548wcG9xBYVJEwkhKd1B/OzFxnBbc9JFTVtc+BFhzFHcPkgUCjeStLhErPdNtn7jq nErMI5flILwbKs1Dee0GYlE/5JV2r4SKaTvx9YMGOv7OziAUO9DfGY/YPPAm+LA78+q0 1S3AGcWhdr7Cu2Jwj8kLY7Z6nMBFlCV2Es2VS78nw5IFD7RV/KWSRGo9v4wX2+CveQAP 2i7CF81ukZebZY+LqQ4B3yNzrs624Fi/mpHDHi3BV0PoLl0Lu8OOq2M0X4rKnLTiAPgn wmCqzlRg9DjO3tlrPGy6GMygT9MuDkfsMBiNEMKHHd28JLll9uCV2jvbt2psrfe8gm/f W/ag== X-Gm-Message-State: AGi0PuZOnYavaCfz3xSrZmvDvDzONDwzpuIUFJpiQxs1a82DdARjCACk nrpvhFcw9WBB9s7EHRz/V9lm48RkEjfQnq60JF6GmQjgxghwXQ== X-Received: by 2002:a92:849b:: with SMTP id y27mr8024575ilk.215.1586361183371; Wed, 08 Apr 2020 08:53:03 -0700 (PDT) MIME-Version: 1.0 References: <20200219171225.5547-1-idryomov@gmail.com> <20200408150643.GD3676135@smile.fi.intel.com> In-Reply-To: <20200408150643.GD3676135@smile.fi.intel.com> From: Ilya Dryomov Date: Wed, 8 Apr 2020 17:52:52 +0200 Message-ID: Subject: Re: [PATCH v2] vsprintf: don't obfuscate NULL and error pointers To: Andy Shevchenko Cc: Rasmus Villemoes , Petr Mladek , Linux Kernel Mailing List , Linus Torvalds , Steven Rostedt , Randy Dunlap , Kees Cook , Sergey Senozhatsky , "Tobin C . Harding" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 8, 2020 at 5:06 PM Andy Shevchenko wrote: > > On Wed, Apr 08, 2020 at 04:38:25PM +0200, Ilya Dryomov wrote: > > On Wed, Apr 8, 2020 at 12:31 AM Andy Shevchenko > > wrote: > > > > > > On Wed, Apr 8, 2020 at 12:45 AM Ilya Dryomov wrote: > > > > On Wed, Feb 19, 2020 at 8:23 PM Ilya Dryomov wrote: > > > > > > > Hi Petr, > > > > > > > > Bump, as I don't see this in linux-next or other public branches. > > > > The discussion was split between several threads, revolving around > > > > the vision for how lib/test_printf.c should be structured, but the > > > > fix itself wasn't disputed. > > > > > > > > Could you please pick it up for 5.7-rc1? If you want to restructure > > > > the test suite before adding any new test cases, v1 doesn't have them. > > > > Other than the test cases, the only difference between v1 and v2 is > > > > added reviews and acks. > > > > > > Petr has some obstacles that prevent him to pay attention on this and > > > actually do anything right now for Linux kernel. > > > If Rasmus, Sergey, you and maybe others will got consensus here, I > > > think Andrew can take it thru his tree. > > > > Thanks for letting us know, Andy. > > > > Other than Petr, two people are listed as maintainers of vsprintf.c: > > Sergey and Steve. Both of them were fine with v1 (no tests) and sent > > their acks. > > > > Rasmus, you wanted to see some tests, so I posted v2. However Petr > > wanted to restructure the test suite first, and it didn't seem like you > > him agreed on what exactly that should look like. Which would you > > prefer to be picked by Andrew, v1 or v2? > > I think it's question to maintainers. I'm a reviewer here. This question was directed at Rasmus. Technically he is also a reviewer, but I wanted to hear from him because he authored the test suite in question. Sergey and Steve (who are a listed as maintainers) were OK with v1 which doesn't touch lib/test_printf.c. Thanks, Ilya