From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 222B1C4332B for ; Tue, 2 Mar 2021 07:46:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CEE2761494 for ; Tue, 2 Mar 2021 07:46:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1576257AbhCBE0h (ORCPT ); Mon, 1 Mar 2021 23:26:37 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:13031 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378363AbhCBBFm (ORCPT ); Mon, 1 Mar 2021 20:05:42 -0500 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4DqJlG4Vp7zMgM3; Tue, 2 Mar 2021 09:02:50 +0800 (CST) Received: from [10.67.103.10] (10.67.103.10) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.498.0; Tue, 2 Mar 2021 09:04:53 +0800 Subject: [PATCH v9 9/9] certs: Add support for using elliptic curve keys for signing modules To: Mimi Zohar , Stefan Berger , , , , , CC: , , , Stefan Berger References: <20210225160802.2478700-1-stefanb@linux.vnet.ibm.com> <20210225160802.2478700-10-stefanb@linux.vnet.ibm.com> <8618fdb7107ec6ec1aeb4e37faf82421050bdf91.camel@linux.ibm.com> From: yumeng Message-ID: Date: Tue, 2 Mar 2021 09:04:53 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 In-Reply-To: <8618fdb7107ec6ec1aeb4e37faf82421050bdf91.camel@linux.ibm.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.67.103.10] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 在 2021/3/1 21:11, Mimi Zohar 写道: > On Sat, 2021-02-27 at 11:35 +0800, yumeng wrote: >> 在 2021/2/26 0:08, Stefan Berger 写道: >>> From: Stefan Berger >>> >> >>> diff --git a/certs/Makefile b/certs/Makefile >>> index 3fe6b73786fa..c487d7021c54 100644 >>> --- a/certs/Makefile >>> +++ b/certs/Makefile >>> @@ -69,6 +69,18 @@ else >>> SIGNER = -signkey $(obj)/signing_key.key >>> endif # CONFIG_IMA_APPRAISE_MODSIG >>> >> >> Is there anything wrong in this patch? >> I can't apply it when I use 'git am '. >> errors like below: >> >> error: certs/Kconfig: does not match index >> error: patch failed: certs/Makefile:69 >> error: certs/Makefile: patch does not apply >> >> Thanks > > Nothing wrong with the patch, just a dependency. From the Change log: > - This patch builds on top Nayna's series for 'kernel build support > for loading the kernel module signing key'. > - https://lkml.org/lkml/2021/2/18/856 > > thanks, > > Mimi > > OK, thank you. Sorry for the noise.