Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1290024imm; Wed, 15 Aug 2018 15:02:51 -0700 (PDT) X-Google-Smtp-Source: AA+uWPx+OdvKxqzcb9K4VED9KDIjO2nFDftghFAjjbXvfMNgHHRSbt5gDHzivKj21ii1Uj8ZbBKP X-Received: by 2002:a17:902:5a82:: with SMTP id r2-v6mr25785265pli.315.1534370571256; Wed, 15 Aug 2018 15:02:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534370571; cv=none; d=google.com; s=arc-20160816; b=gtHZdhPuyOGlywvfKFuIMFtEs63+lwhTk6WGOZ5IQhhggJ+ogpj4vJrJMaQvovLNTI /7tFWbUHkJXAFCdFeLJnCGpzKXbD/omqlZ+nxVUVBInabVroUGEex1fVNulZskJNsZQQ zjTmqKDLczlglR+j+6RmyE1Lbdy2ZxcunHowanD8AUDZOWs1DjgoziFOetxOk9lxV7ZB x6xBORejvpJEPlUWxSs4iSNw/vH6to9E3Q9NIms1YLvnk93SaA5vrStFTOwS1/DWhUNe bLIeOcWgoveHHrvggV9zw5wNXp09DlU6ED+VmI6523w0ecyYF1T1ECqkpl83otH6QO9n TR/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=TYUWuY0Omsuyw6K3QcpD76/mcnM2SiezVSHyq0q1umE=; b=Qv2P3PikIzxhb0nM6rnJawC1qa7jW3yNUqTY0YGXXIV6BmMT+d0WHNWopIQPzDWHBs 8+PYbrRqwtsPRTQSRQwLb7RT4AP2O21Z6VyNl+WswADOfK+KnWSH49LqVioFsPb7FBi0 oHyxUD94VJ4r2+h7RP2mPF/FrtaWVkKrDcyzFKjwUvhXcP8LO8RwtfrM/Us0h/+O0Pfv +SnnOMwIfZiuUNprOEA+e5Yxbe53dRLbSMpPnnzNkfl1+VWdLumpWLQivejV1GNEK24U FSIlFIdRkin4gGXIzstBclztixSoyjxVI+ZjUDqtR/cTf24eMZQLG9wqFs3mPCdlHApq ri7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=f5yM5+Z3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f62-v6si20916022plf.164.2018.08.15.15.02.35; Wed, 15 Aug 2018 15:02:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=f5yM5+Z3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727791AbeHPAzk (ORCPT + 99 others); Wed, 15 Aug 2018 20:55:40 -0400 Received: from mail-io0-f195.google.com ([209.85.223.195]:38612 "EHLO mail-io0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727000AbeHPAzk (ORCPT ); Wed, 15 Aug 2018 20:55:40 -0400 Received: by mail-io0-f195.google.com with SMTP id v26-v6so2264173iog.5 for ; Wed, 15 Aug 2018 15:01:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=TYUWuY0Omsuyw6K3QcpD76/mcnM2SiezVSHyq0q1umE=; b=f5yM5+Z3fsxylN18CE9vNrWJ7nu8yFq6nXDRfMt6yLoCWJBO4IABqpDFGuHiXA0vBG yhmYAH/2RtxB/h7KCmPeEr+jM18pxSx6MXSTfSRCjM0BrNaFIOUlxFoyTW3gwuvtw/97 DTea3B995wJZgx3lOcgCOwVSXlDnAQTId1gN0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=TYUWuY0Omsuyw6K3QcpD76/mcnM2SiezVSHyq0q1umE=; b=alfQByzOOhpzGrMl+k1ViUOtl74qvJX6VXXQQi2XvGA96Ql/XAcmRle7XymxaHHA7a gVfRO2CnqnJdGwpdig7PAiLGcIEtHLpco1LjVvZ/NZvutt451/IBIH5PgLnfmzrC4dum iBStSa2U9yPWnubGBQ0B4Aeq99qCUEdv6pRwaBcgPxNTLZTqjfkEuQ+C6Hplhn0h+TaM XBahbwMrXf+/fSolSmb5VqMhOBkB5GOriOTZg7qvqMxz9jD/7gle9mnGXSgLMXoMRTFk MrU2Ylw+LvAb99ruUo0/CqFQ76lgqfeGbSfjr1i9cUxizeIoZeMvcVGChCftV1WePMnV qf7g== X-Gm-Message-State: AOUpUlFI+Kgr2RZhC/+tRMGAwMlI1yrP3LX1sdYpKMgbq/tQU5YW398v rQPj2ICGTmIp2JOLH2fZUVG0tPAXosynD3y66so= X-Received: by 2002:a6b:f815:: with SMTP id o21-v6mr10846790ioh.203.1534370497831; Wed, 15 Aug 2018 15:01:37 -0700 (PDT) MIME-Version: 1.0 References: <20180815194244.29564-3-yannik@sembritzki.me> <201808160443.5h16PxVs%fengguang.wu@intel.com> <1bfa03ed-c9f8-d0f2-700c-c93e96d5b99c@sembritzki.me> In-Reply-To: <1bfa03ed-c9f8-d0f2-700c-c93e96d5b99c@sembritzki.me> From: Linus Torvalds Date: Wed, 15 Aug 2018 15:01:26 -0700 Message-ID: Subject: Re: [PATCH 2/2] [FIXED] Replace magic for trusting the secondary keyring with #define To: yannik@sembritzki.me Cc: kbuild test robot , kbuild-all@01.org, David Howells , Thomas Gleixner , Ingo Molnar , Peter Anvin , "the arch/x86 maintainers" , Linux Kernel Mailing List , Dave Young , Baoquan He , Justin Forbes , Peter Jones , James Bottomley , Matthew Garrett , Vivek Goyal Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 15, 2018 at 2:19 PM Yannik Sembritzki wrote: > > > +// Allow both builtin trusted keys and secondary trusted keys > +#ifndef TRUST_SECONDARY_KEYRING > +#define TRUST_SECONDARY_KEYRING ((struct key *)1UL) > +#endif > > Sorry, I've fixed this now. Actually, just remove the ifndef/endif entirely. There is no possible other valid #define this could have, and the header itself is protected from multi-inclusion the standard way. Linus