Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp706204ybb; Wed, 8 Apr 2020 08:23:46 -0700 (PDT) X-Google-Smtp-Source: APiQypLnftMKXDwCrJ924rEfV1KN/zRLBs7/6i+5nn5NG76howu3LLMg2SD0AuKMhXmI+zKt7MHb X-Received: by 2002:a05:6830:160c:: with SMTP id g12mr5983004otr.335.1586359426836; Wed, 08 Apr 2020 08:23:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586359426; cv=none; d=google.com; s=arc-20160816; b=HuowwIq8PtRy5YBZVA0CTqf/woECCamFYLBUiFK3G+e+yk6dnWDVCIGwsc5nlaEn4z Ybws44UdrfdeI3UlzmNdQjQZxIpKjzK8jKoRqIVH2NpvIHYTX1AyeC+blXocF5/dvrcU ++7cRvqHAmy9Py9TW70JShfOI+FeTa8pJiM3iuO5GEQiyR41903JNL6fzbfUlPgkCcui jZ9zyRQE4sd3j6JtkK0snr6Etvj9egsZygTnGa0dkGU3c0yw63V6S+nusE3D61XcX9FS nlBosFmZMQp9SpKANccvl0fZyFl+lZp6AgXsUy9kkoENAzIrFltnZM5bGgx7U2Oce4Bx 4ErA== 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=0w9uV7DT25Vxle+OoRarHDVgxrRzl4Tsa9YCyi8Vm+k=; b=V2X4q0ANeIa7USJuPSQZfCInY2TvqTURjRi+G1W2p0fwc5nYBaxbq0Uix4uszW5evU XQLfJJdYU9CbQe5cLBQxeuxFBuel3FhUan4Dgf5E6ou0hfVCbmCCKolOOUJhpCEmts5C 4HOGYJmT+6VI2rWFlfoVuFguk4jIoIYTsHXVEA7F+u4LLzQZFX8dr0KH+Ndv882/iNmC H8EluZcnRfGnm/SKb5kOoxh2smMeW6f1FiQnVCmRmqRz25IaTrfsho11qxQaPqBATlqt 8512DAVtvZPVHB5lZEsxiZ9VYBrv4P7Q1xbwTo8o0PaGD7TCfo4U4dGVhI4OYVN/ZqBu mezA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TFYJIr4f; 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 z5si2623559otm.267.2020.04.08.08.23.32; Wed, 08 Apr 2020 08:23:46 -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=TFYJIr4f; 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 S1728604AbgDHOij (ORCPT + 99 others); Wed, 8 Apr 2020 10:38:39 -0400 Received: from mail-io1-f68.google.com ([209.85.166.68]:33230 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726605AbgDHOii (ORCPT ); Wed, 8 Apr 2020 10:38:38 -0400 Received: by mail-io1-f68.google.com with SMTP id o127so272544iof.0 for ; Wed, 08 Apr 2020 07:38:38 -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=0w9uV7DT25Vxle+OoRarHDVgxrRzl4Tsa9YCyi8Vm+k=; b=TFYJIr4f0AtswFbA49HaZsm32aeev+TDMpn+EE95c1ecN011KRiZdGtiDab720w8Ld GgBlfjdnUgWDu9HK0Cm8FEGi5erCGR6URlj8txRHGg+0GGuDZR8vWWSOp9wa5HbVSF/5 A9Hj4qPU12v+Fw12FRrqc/IU+d6jX1MV5slMf6vGp5HOEDatC3Xsvz8ZxnxONe2TcZcA QZe0pHUBJVudAQmSf1FK+rJE9RaHSqjoBnGxIeokfQTbg2Xl7qHmWHuvyBTQZYMpxxee yiAFjNSNgHFLeHIKEUrcQa4w0tqwQrCmt38P+Ec4fFBoe9/5UYsJW1v7JINTPCQbjOeE IU6A== 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=0w9uV7DT25Vxle+OoRarHDVgxrRzl4Tsa9YCyi8Vm+k=; b=hrzgTPjPXfE8iGzwtGHoqW91MRhzIidXfRM2XBU+sF1oUuDSqJN5rxwsPQJOkSub+T x2too06j5aq3fYhOO11cEjjwBFWLrsavHuHAHoELfY7uzKiuZIzut3j29lVNc2sfc+0Z uMtv5DKaz6sKMYvpA73660ektiDatjyJLSteTwVSqinQQrP3Uryz+dAVcEAs1LTNumd0 319Cvlla1OJqZqOl3esY42Aj/Pzi52CbsWcuLdT+l4xwE2rQ9EuEBHBzOtLRNy5Zt4R9 e/L2ddKRST42ipNCKTVLNoRziEuFk/ceKg8gakwKuH1aHb0QyI3SV4esqOr/HbJsHK2P 2UKw== X-Gm-Message-State: AGi0Pubw9EbwXJBXtB7Im6SB/G2LYQOhsOnyLBa2PmByJ7yihjaBOywx ThpJzrA1aDIKH5QXVf6aNO5aFNy3itWjxABPH73SW4wSScAEKg== X-Received: by 2002:a02:b70b:: with SMTP id g11mr7211033jam.16.1586356717774; Wed, 08 Apr 2020 07:38:37 -0700 (PDT) MIME-Version: 1.0 References: <20200219171225.5547-1-idryomov@gmail.com> In-Reply-To: From: Ilya Dryomov Date: Wed, 8 Apr 2020 16:38:25 +0200 Message-ID: Subject: Re: [PATCH v2] vsprintf: don't obfuscate NULL and error pointers To: Rasmus Villemoes , Andy Shevchenko Cc: Petr Mladek , Linux Kernel Mailing List , Linus Torvalds , Steven Rostedt , Randy Dunlap , Kees Cook , Sergey Senozhatsky , "Tobin C . Harding" , Andy Shevchenko 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 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? Ilya