Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2343502pxp; Mon, 21 Mar 2022 17:31:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz4Qbv1/N+aWcUisIeuGdqe9MhPmN+rZIWvar3L4iMtftnVmgXspdQL8pLlVTullb4AmHHZ X-Received: by 2002:a63:1a0c:0:b0:382:1ced:62c0 with SMTP id a12-20020a631a0c000000b003821ced62c0mr17383161pga.36.1647909078904; Mon, 21 Mar 2022 17:31:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647909078; cv=none; d=google.com; s=arc-20160816; b=ZrDPwwRP0eoEvj9J2cAiNpN8XBWhUKW+umbq8MW820WcmPMxgFChDTUEa2/F4oVgbI kBUZ/wuqSw/G0OSH7wuAOqGc4b/B+GnHaT1m9Pw3I+YsrsgR4y53orQl/cwXXYUfz1kb iH+WioLo4HRKB4lR+pwZS7a7D7gdKT6YKOy9Uyl45Isz3AiHZNYLDQDdU8x04O1RDXEf vdMUAkRHfqK5yjzkY2Y9Djvu/eQXS4rT4YiDv3PERHRl/4qp/tUSGwJkUOGpXn7MrYhj lWC0W9LT9eHUFni+mDSPPD4RF7KSfBaWNyDbciVs6nFlgKQ/uEz2sICam4vGch+YEr3M ZNNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=1PG2+LVuO/Gd/24WwODfwM5PjUwx5V+Mu6V8KxVYx4g=; b=IoGCBbYA/+afeH6xIUTm+Iun1Tw4wdGQSmAvzeJNZgwvz4O+8Ql+lVAVTGKxYAwAVk qmZCFFCycelBTR7jJzkYiOJNGp0fEX5j0hl89QFdwSFl5jAt4pZv4Ubcjbz6uk5IwLrL 9lCjw6iRg6CUrHsmcv29SS4uz/zQmqx6lv1V1PaVMQkWI4e3O8EuZ35LKMu/W/pyYKPg jTySrR/miDw8VEyYqoIrPdaxxISxVRdxD7Y5ar7+6BCx1dTNRFavMq7kzfZMZ6sdv2wL jbSSSsH5ORONyp40q2EjH9vV5uHhwzevLGHQ+Lx8N2bN+4Dpm//nHG28Hera/BcxvjHP RJ9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jG6Iugnv; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id bd6-20020a056a00278600b004f784a59a59si8925535pfb.0.2022.03.21.17.31.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 17:31:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jG6Iugnv; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8E5766477; Mon, 21 Mar 2022 17:00:41 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233593AbiCUX7Z (ORCPT + 99 others); Mon, 21 Mar 2022 19:59:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233617AbiCUX7W (ORCPT ); Mon, 21 Mar 2022 19:59:22 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7338628D295; Mon, 21 Mar 2022 16:56:21 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id AD7B0B81ACE; Mon, 21 Mar 2022 23:53:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1B99CC340E8; Mon, 21 Mar 2022 23:53:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1647906838; bh=cj/bg1sLNNaJqVbORGbd8V+TtcWsAd5DpPi34vxVBaI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jG6Iugnvq9+d6FpMQh4OXsHDYag7OBVdmKGbPXMugx1nLVkFXiyjGHP4SzRll0IzV WZEf51AichSBMW4+Gdh9AvgLqBUX5O61NRj0ceCc8GRODHAx7Z2JTKCIt4zzNoW+Z6 GxpRtL2Ay9j3e1spyAd5WEHRi/b1d4+JCWba3RfAK7kICHe6dpDnt1K5hno/9cklzi +nXWKcR5tToM7qwPcll7bLb2rs8LQfB/qLI1eEppJGbz4l2SUSN+RBXgKB6NBILqef /Gypl4G3TQk+syuMICPME9IbehTQ5ZZjO4pagqsRxoV+eadF95vyuRMfOsC32ngFw1 yroKlFAIAqzvQ== Date: Tue, 22 Mar 2022 01:53:09 +0200 From: Jarkko Sakkinen To: Paul Moore Cc: =?iso-8859-1?Q?Micka=EBl_Sala=FCn?= , David Howells , "David S . Miller" , David Woodhouse , Eric Snowberg , keyrings@vger.kernel.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, =?iso-8859-1?Q?Micka=EBl_Sala=FCn?= Subject: Re: [PATCH v1 1/1] certs: Explain the rational to call panic() Message-ID: References: <20220321174548.510516-1-mic@digikod.net> <20220321174548.510516-2-mic@digikod.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Mon, Mar 21, 2022 at 02:23:54PM -0400, Paul Moore wrote: > On Mon, Mar 21, 2022 at 1:45 PM Micka?l Sala?n wrote: > > > > From: Micka?l Sala?n > > > > The blacklist_init() function calls panic() for memory allocation > > errors. This change documents the reason why we don't return -ENODEV. > > > > Suggested-by: Paul Moore [1] > > Requested-by: Jarkko Sakkinen [1] > > Link: https://lore.kernel.org/r/YjeW2r6Wv55Du0bJ@iki.fi [1] > > Signed-off-by: Micka?l Sala?n > > Link: https://lore.kernel.org/r/20220321174548.510516-2-mic@digikod.net > > --- > > certs/blacklist.c | 8 ++++++++ > > 1 file changed, 8 insertions(+) > > I would suggest changing the second sentence as shown below, but > otherwise it looks good to me. > > Reviewed-by: Paul Moore Reviewed-by: Jarkko Sakkinen Micka?l, I think since your patch set was not huge in the first place, I'm considering making it part of rc2 pull request while I normally try to avoid any features after rc1. It's anyway throughly tested, and generally has been around for a *long time*. I've even tested it myself a few times. Just trying to be responsible as a maintainer and if something does not feel right, I don't try to pretend that "I get it", if you know what I mean. This fully clarifies "not getting it" part :-) Thanks! BR, Jarkko