Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp4000629pxb; Fri, 11 Feb 2022 12:37:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJyKaYAT95Gbxv6in2GmGQjtfO6zOjy3wOpFlPevXkjPhnjFAob4As/2e5RQ4Hu17NIiwraB X-Received: by 2002:a17:902:bb97:: with SMTP id m23mr3076432pls.151.1644611839531; Fri, 11 Feb 2022 12:37:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644611839; cv=none; d=google.com; s=arc-20160816; b=uuwyXbq9GLEl4MLOspnmJqtqhHZlE13hreVHZ9pbcfxU5TWYxIPl0KzIj7+dol5ncV /qOHL2/PZKwEP8eWBJ5pQcOiW9lQZPH0s5BYuNqOOTOFxmgktIp5/8ZtrlHkbnP9l2RU PZG5myPyLQfAGUz1r/xk29wTZJyPO+s1WCSTuHmArn34Erg+VLWvygAWBaaqRusN4CNA B9OVEMB/8tp7ftL1Pl8bVDy/Ydheo2hNsEswoyPAbrxa+1xRvviH2M7uJMlZflNDlt7G tnqo5Ybq40ZNknD9hXTNCUZSfoj36DX6v8iHOIOwZ5nEzP9zWUegse76P2S8YiDcCqFq uwsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=RVg5C30Oj6ty7sDy10JOxyHHGxYzU297SK2Orj9qUYs=; b=RcHGbclqXIgiDQf9WWDubEi4Ji6sVSmANE4Bd6RAE2szr7gb9YpI2BLpUnkuixGYnJ iA4qzLxfjXaiObi8I6JyYPFLSXjAtJujN7YaTNNBE/cG0gfyXipaVcgICsu0bqaHRmv3 RM990wwN6NroDiQtlQsfuktHzCKimScCQceq3i0cjatjkri7yQNhZO7iGqER8UbthlP9 80BwqnGf91P84rAD2XRZmy9o8y9aH5mY1g6cipNJ71mbH47z1U/Y2XE7RDMjMgxBc/VM SKbF8mZd13nCipP1Jg72HQutmRRdl24fLrmbQRsG/JN62JKrrShtC7SKJ8kYdRPyvsP7 xcKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=WVw0e5BZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 184si23318217pgc.643.2022.02.11.12.37.05; Fri, 11 Feb 2022 12:37:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=WVw0e5BZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350670AbiBKNvz (ORCPT + 99 others); Fri, 11 Feb 2022 08:51:55 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:34594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350649AbiBKNvy (ORCPT ); Fri, 11 Feb 2022 08:51:54 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C491BEB for ; Fri, 11 Feb 2022 05:51:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1644587511; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=RVg5C30Oj6ty7sDy10JOxyHHGxYzU297SK2Orj9qUYs=; b=WVw0e5BZ5VmopKL4waUzfPVKFiphoe3omS1fIFOcnAhxrXMb5VJkKSZ1l3yKstHI9BFnou zh9BopwvHN1BlxKlcDmETplX8q2ZFXS268ROVoT9YBlGeR15KwbvE3B3vyMmsNmvwoOUip bWL75CAyP8+UAG/oeVNGJjbCz9hdl0Q= Received: from mail-lf1-f69.google.com (mail-lf1-f69.google.com [209.85.167.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-529-1Aj6yPxjP8yo1T99OYBjKg-1; Fri, 11 Feb 2022 08:51:48 -0500 X-MC-Unique: 1Aj6yPxjP8yo1T99OYBjKg-1 Received: by mail-lf1-f69.google.com with SMTP id m24-20020a056512359800b00442b6ff7a0eso2025750lfr.1 for ; Fri, 11 Feb 2022 05:51:48 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=RVg5C30Oj6ty7sDy10JOxyHHGxYzU297SK2Orj9qUYs=; b=s51KvFkLDWhNMclGEX2pXKZJXDWZ98eZOnk/J4mPovL1UFn7WYOSeGToqquXMPMdPV 6oguIGnujRlBliEzg6lhK4IsG3ttwzYI4MoKO6Owx0e9112GZEsuRrKC/bPdamj+Mxfu K1kycVXW7gi47aKiA6iPfJ06r7aZLT6h91xX33Y85QuNJZKE7zewyaYlIqZA8yzmsCrI U6+cskvZHAIdSKbZGzwInbLMofPbR5PfvPb+7SVGEzylrxCocALdggA1d/gVbQoDnE4G Vi6orff1mb5PUM7nG62UZf4oO7JkJFYi5CiUkgNpddxxUU+m/2doHmXIswDRijeuCy/e 3xHw== X-Gm-Message-State: AOAM5324s7n2nqjpMpCT0POQt+PFK6URyrk4DUTNhukWRlYtnQ7DcN7V CIwwCiWctstLVmFlXvpuf0MEvGycU9B4KGkspMJuSxJB1sjQbmVI2h203PICl5cMJYfyN/zdG3D 8wirRR2xZ+i2uhCY1D+0Bs6KJpucTW/CtsIJJMlc= X-Received: by 2002:a2e:7311:: with SMTP id o17mr1072582ljc.303.1644587507236; Fri, 11 Feb 2022 05:51:47 -0800 (PST) X-Received: by 2002:a2e:7311:: with SMTP id o17mr1072568ljc.303.1644587507053; Fri, 11 Feb 2022 05:51:47 -0800 (PST) MIME-Version: 1.0 References: <20220209170814.3268487-1-atomlin@redhat.com> <8b7988be-488e-f570-b499-5892c57f5e04@csgroup.eu> In-Reply-To: <8b7988be-488e-f570-b499-5892c57f5e04@csgroup.eu> From: Aaron Tomlin Date: Fri, 11 Feb 2022 13:51:35 +0000 Message-ID: Subject: Re: [PATCH v5 07/13] module: Move extra signature support out of core code To: Christophe Leroy Cc: "20220209170358.3266629-1-atomlin@redhat.com" <20220209170358.3266629-1-atomlin@redhat.com>, "mcgrof@kernel.org" , "cl@linux.com" , "pmladek@suse.com" , "mbenes@suse.cz" , "akpm@linux-foundation.org" , "jeyu@kernel.org" , "linux-kernel@vger.kernel.org" , "linux-modules@vger.kernel.org" , "live-patching@vger.kernel.org" , "atomlin@atomlin.com" , "ghalat@redhat.com" , "allen.lkml@gmail.com" , "void@manifault.com" , "joe@perches.com" , "msuchanek@suse.de" , "oleksandr@natalenko.name" Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_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-kernel@vger.kernel.org On Thu 2022-02-10 13:01 +0000, Christophe Leroy wrote: > Why do patches 7 to 13 have a Reply-to: > 20220209170358.3266629-1-atomlin@redhat.com and not patches 1 to 6 ? Christophe, Please disregard this mishap. Unfortunately, at the time I hit the relay quota. > > diff --git a/include/linux/module.h b/include/linux/module.h > > index fd6161d78127..aea0ffd94a41 100644 > > --- a/include/linux/module.h > > +++ b/include/linux/module.h > > @@ -863,6 +863,7 @@ static inline bool module_sig_ok(struct module *module) > > { > > return true; > > } > > +#define sig_enforce false > sig_enforce is used only in signing.c so it should be defined there > exclusively. Agreed. > And checkpatch is not happy: > > CHECK: Please use a blank line after function/struct/union/enum declarations > #27: FILE: include/linux/module.h:866: > } > +#define sig_enforce false Ok. Kind regards, -- Aaron Tomlin