Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4921024pxk; Wed, 30 Sep 2020 15:40:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzKTIp3BIBzS6j3b+Ml7rBj0sAKjnyGmIyECnViQEs/8tVXmpOI2QXxXvHgdj0Yuh1hWFgM X-Received: by 2002:a17:906:b0c:: with SMTP id u12mr4877416ejg.331.1601505650315; Wed, 30 Sep 2020 15:40:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601505650; cv=none; d=google.com; s=arc-20160816; b=chSJzujDVleJ6knTiBcIMPpIHIfVx8uCmtb3ff9DnPY8TiIAK0rCWfAOk7WCfkNjY2 bDa2ucKw3YST12d9/9lTCEthb+uMmd9L/iFzWRCKV1QWygNJAsvLVIhUs1OQVfqHNkge riCWgN+SddIeNWssrb3s8Ofhlsewvo253pv9FlawhOsl5ie1Yp6or7Jd8IaDOP8plwY4 TsWNmK7YswDlsUlzuWgWapuz8iZY92dCe5m1Yc2hV01M7GgLYfmxil1gAMJQMqyIU5Dd ksHObuKBVv/2yT6apJGpbHPmNNy9NJbb2AYc39S7g1B3XXRdBpTtULgdDop0s8bctomD DaMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=PWAWzUlMvTLDptw0iAj4vY+L1nGbxFKy2BPdwEzu/50=; b=WtF4LIwKqJ/c0uHQMwBKS1FDeJxQ3wVBGKuGpmVn7H/r1FAEivnJj+YkRbWl5/WD1X BhSmar2q6mdxL1vrdKAbXyp+G57w/VZCPM6FQ4bz6/BxUa7tIY3U6YpoXPoDCeVLanwi 7vngYh5dP7tcEuZwYZNzRgHUAOEaOAeJjGdETH/IAron84W69ifpz3ICsLMEMstrQPF8 sjTaT9Kx+FDeEsRJgwNzGam6ZjmWV5oW/s/hH4FirgFBmJChfSso+0hu/nm9Wv+ckT2b lPFkaxyoBe5XmNaIgfUERpK+Cn3NmQC9WlXFqTSrdSqxzM22i+Il8kolVsV59Llw7k0R OGjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=uiBh8hPT; 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=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dn22si1780284edb.231.2020.09.30.15.40.28; Wed, 30 Sep 2020 15:40:50 -0700 (PDT) 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=@oracle.com header.s=corp-2020-01-29 header.b=uiBh8hPT; 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=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729645AbgI3VPh (ORCPT + 99 others); Wed, 30 Sep 2020 17:15:37 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:37510 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725355AbgI3VPg (ORCPT ); Wed, 30 Sep 2020 17:15:36 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 08UL9gtb188693; Wed, 30 Sep 2020 21:15:24 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=content-type : mime-version : subject : from : in-reply-to : date : cc : content-transfer-encoding : message-id : references : to; s=corp-2020-01-29; bh=PWAWzUlMvTLDptw0iAj4vY+L1nGbxFKy2BPdwEzu/50=; b=uiBh8hPTRiNe7PdfO9rQZnxU3VrotJTTvPEr53TYBTKBLaTBh9bW9DDyY3IthsMpXy9M Ev1GdD69Jlkm0hP7IWbkxwSW8Rq60vOgp6z6NCwj3Lrnt++ATUi6fdLztjyGS/X27R4r zhMwgwYznRJOKGcRP4W+rY5V7Zgcb99COwie8aq7nSvaqA91/TkF8LSVd8sguPAy3JIx sF0XCzAySJWu+PiWl5Jxgt3+KVtnnNHwAuhbReTkbwPo3XoWr+JokEoOJ5HXZVITU/IZ 7E420c2mbqI6l2BnJ5iqY/06jgLu37b3d+h5O5PjgtvbZQnPbyd5tPAGUGNd06pH+A3U eQ== Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by aserp2120.oracle.com with ESMTP id 33swkm2u83-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 30 Sep 2020 21:15:24 +0000 Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 08ULAwmU089432; Wed, 30 Sep 2020 21:15:24 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserp3030.oracle.com with ESMTP id 33uv2g0e0c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 30 Sep 2020 21:15:23 +0000 Received: from abhmp0006.oracle.com (abhmp0006.oracle.com [141.146.116.12]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 08ULFDEm023807; Wed, 30 Sep 2020 21:15:18 GMT Received: from dhcp-10-65-155-193.vpn.oracle.com (/10.65.155.193) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 30 Sep 2020 14:15:13 -0700 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: [PATCH 1/2] certs: Move load_system_certificate_list to a common function From: Eric Snowberg In-Reply-To: <20200930210254.GB65339@linux.intel.com> Date: Wed, 30 Sep 2020 15:15:10 -0600 Cc: dhowells@redhat.com, dwmw2@infradead.org, masahiroy@kernel.org, michal.lkml@markovi.net, keyrings@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, Eric Snowberg Content-Transfer-Encoding: quoted-printable Message-Id: <9E194595-5A19-42F8-9657-7FB36DE59F16@oracle.com> References: <20200930201508.35113-1-eric.snowberg@oracle.com> <20200930201508.35113-2-eric.snowberg@oracle.com> <20200930210254.GB65339@linux.intel.com> To: Jarkko Sakkinen X-Mailer: Apple Mail (2.3273) X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9760 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 spamscore=0 adultscore=0 suspectscore=0 malwarescore=0 bulkscore=0 mlxlogscore=999 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2009300173 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9760 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 mlxscore=0 phishscore=0 suspectscore=0 mlxlogscore=999 clxscore=1015 priorityscore=1501 impostorscore=0 lowpriorityscore=0 bulkscore=0 spamscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2009300173 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On Sep 30, 2020, at 3:02 PM, Jarkko Sakkinen = wrote: >=20 > On Wed, Sep 30, 2020 at 04:15:07PM -0400, Eric Snowberg wrote: >> Move functionality within load_system_certificate_list to a common >> function, so it can be reused in the future. >>=20 >> Signed-off-by: Eric Snowberg >=20 > I rather think now rather than the future. I think this should be part > of a patch set where the re-use actually happens. load_certificate_list is being used in the second patch in the series = [1]. It uses the now common code, to load the revocation certificates, just = like the system certificates are being loaded in this patch. > Without that context, I rather not say anything about this patch. > Neither an issue for me if it gets applied. This is just a guideline > that I follow (in order to manage this chaos). >=20 > Looking at the code change, I do not see anything strikingly wrong in > it. Thanks [1] https://lore.kernel.org/patchwork/patch/1315486/