Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3545917rdb; Wed, 13 Sep 2023 15:52:35 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEoaPG3EnlswuiCK7vSl5NV0XUcXHAVJxp6UGvoisWS7gcCjARAk7PT03cSePSo1L7Di8cf X-Received: by 2002:a05:6a20:4281:b0:143:f4dd:dfae with SMTP id o1-20020a056a20428100b00143f4dddfaemr4816227pzj.43.1694645555590; Wed, 13 Sep 2023 15:52:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694645555; cv=none; d=google.com; s=arc-20160816; b=m76260F9e+OzgL2WjDST4Fu+DNs0bWjf9NQT3/83nm1KuOasG2ukMH+EkeOAOAKZWj phG+FGvXcejEtelZQg77pmYUiAxTf06ZV2LsfRb8qEcR+JANq11s5Qx+Y/ucGWD+1zqc 2ytsptDoCWh5UYu/vl4kclgDcw/mXP4NYSyDa5H+IT1JbQxFB4IwdFfG5tUJsshglIZv NDRNzH4P8e7reGG0XhpZuINxvFl+H6hR4L3/f8bg/0+SU1B9NwHgOMWbh43mole+zuJl tFYhM7KUt5w5E2ExqJFFggIAtNfYmVw5oWCtS/7Cy7jaAKquZRuyw+hu0Az8XFSsU+vQ TePw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=G/OX7SUI+TV9lsk0zyT19UZ7Vdm3M4MGEQYsybw2ZhA=; fh=h678y9sMPqSKtd+xCViiI6zf5zNk2Q9FNMtSKZl4L5I=; b=ZkmyE5y9Tvkjm4vwX5I1PX2bU+jAGkzk0wojXDnjq30F7l1Q8nQRS7YBljjnA+OnyE b/5boaQ+5IYr1PNkfu7tgc3Xd5tOpYFvg+PzqKpWvpYduuiDbVHyHtGWqbD1eYkTnW9u 59OstM39XJM+ycglj07ZXtQRET7MHwHmpiPrTyNDR5d5BjOAZ6kicYTiE/RM29d4O8cH aAk4IdP5eocKJ6Y4lXodXO/UIAEonZmYJTc/49KNj4STKYkGfl2TPNYLDLU+dMqPJ5rs 1U25vNK2X+ttTvBxyJaoWsYoJgzZoM85Wui36ygYtUarVS2BeArhClc2KAVngdqr2udo myxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paul-moore.com header.s=google header.b=LqAHEMNl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=paul-moore.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id bs190-20020a6328c7000000b00573e1eb9965si106818pgb.663.2023.09.13.15.52.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 15:52:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@paul-moore.com header.s=google header.b=LqAHEMNl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=paul-moore.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id D930C8099CDA; Wed, 13 Sep 2023 12:46:51 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232594AbjIMTqu (ORCPT + 99 others); Wed, 13 Sep 2023 15:46:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232580AbjIMTqq (ORCPT ); Wed, 13 Sep 2023 15:46:46 -0400 Received: from mail-yw1-x112d.google.com (mail-yw1-x112d.google.com [IPv6:2607:f8b0:4864:20::112d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21E54B7 for ; Wed, 13 Sep 2023 12:46:42 -0700 (PDT) Received: by mail-yw1-x112d.google.com with SMTP id 00721157ae682-59bdad64411so2091277b3.3 for ; Wed, 13 Sep 2023 12:46:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore.com; s=google; t=1694634401; x=1695239201; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=G/OX7SUI+TV9lsk0zyT19UZ7Vdm3M4MGEQYsybw2ZhA=; b=LqAHEMNlR6CRb9x/uCTC0bvAmrxfALOTZPhn0tJBPuuzjxYQm9NGPCzMbWjYMnxHGn E95IcaLupBO5wbbRaKjbnJAb0u62dV+GW6PBH3n2+nNGtEwWKrd5fL/cWO5BfCxla3+5 d7qXYcUsEWbm2fRcFJDS/AEyxCtiVndUq6UD/kQJUklGGwDreETiezDJqaTJdDCTv1la 76Fx2cwX0k8o3pqzjEMcuSE8+5VNlKAtVvy3Ns5DBYjQkS+0oEN2ZdyqdsXqUE1nnUy8 ktqXe6OlRxGf6SkjNCjXR57tVYKpk1IFQQYcWKo68Q2hSQmJA8luGCBZ45YPGZGlabL+ YjnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694634401; x=1695239201; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=G/OX7SUI+TV9lsk0zyT19UZ7Vdm3M4MGEQYsybw2ZhA=; b=aGwRg6BF4PlIPA0REVd2hPIsRFJredGTMxPHKrDNlmeqkhjtkUFO7IcPctRlRGLaGx DixWo88hH8Kn6tZ8ZN4YLdj+fijZd9fKQoqrJKFWtZJP3lomtdBnPfw5oapcLELCh80G 9CsX4l9oCIkFq4Vqy46PCRSJxgjRzXdCv8vbsNKrLc1MPyIgPt7nYlLcEns+7EUi5Sr5 ru3k5px4R38pAr/f7zlY5TQrM5vVBlNcGxIALZQP7q6BQhps+erJq1km2Sa6hK60GHcL R1cchNfZ3SUJYoyJOD81pOtkKgrU9BmdRfwVpvOxin0p5G0fbdacU/wpVYNg2CzJIUkd uGww== X-Gm-Message-State: AOJu0YxWWHx+HTCyOxmaAjLO1QjQ09eq/Cg7p4ziX30nkkKWXJm405gF 2buN91/uPPTLyQy0BB8AJEecHjSommSeq1bEMQXU X-Received: by 2002:a0d:e406:0:b0:586:9ce4:14e8 with SMTP id n6-20020a0de406000000b005869ce414e8mr2889046ywe.52.1694634401218; Wed, 13 Sep 2023 12:46:41 -0700 (PDT) MIME-Version: 1.0 References: <20230729024026.32228-1-yuehaibing@huawei.com> In-Reply-To: From: Paul Moore Date: Wed, 13 Sep 2023 15:46:30 -0400 Message-ID: Subject: Re: [PATCH v3 -next] keys: Remove unused extern declarations To: Jarkko Sakkinen Cc: dhowells@redhat.com, Yue Haibing , jmorris@namei.org, serge@hallyn.com, keyrings@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Wed, 13 Sep 2023 12:46:52 -0700 (PDT) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email On Wed, Sep 13, 2023 at 3:31=E2=80=AFPM Jarkko Sakkinen = wrote: > On Wed Sep 13, 2023 at 9:00 PM EEST, Paul Moore wrote: > > On Mon, Aug 7, 2023 at 5:46=E2=80=AFPM Paul Moore = wrote: > > > On Fri, Jul 28, 2023 at 10:40=E2=80=AFPM Yue Haibing wrote: > > > > > > > > From: YueHaibing > > > > > > > > Since commit b2a4df200d57 ("KEYS: Expand the capacity of a keyring"= ) > > > > iterate_over_keyring() is never used, so can be removed. > > > > > > > > And commit b5f545c880a2 ("[PATCH] keys: Permit running process to i= nstantiate keys") > > > > left behind keyring_search_instkey(). > > > > > > > > Fixes: b2a4df200d57 ("KEYS: Expand the capacity of a keyring") > > > > Fixes: b5f545c880a2 ("[PATCH] keys: Permit running process to insta= ntiate keys") > > > > Signed-off-by: YueHaibing > > > > --- > > > > v3: Add Fixes tag > > > > v2: Also remove keyring_search_instkey() > > > > --- > > > > security/keys/internal.h | 7 ------- > > > > 1 file changed, 7 deletions(-) > > > > > > Reviewed-by: Paul Moore > > > > Jarkko or David, please merge this or explain what is wrong with this p= atch. > > Sorry, I was aiming to pick this, and thanks for reminding. > > Applied. Thanks. --=20 paul-moore.com