Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2304417imm; Thu, 16 Aug 2018 07:54:42 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxRErxS5WlcxUPeYfFdVv+XVv7gSViMgVTzlmTkp8RYmDZIyf8PTsFeyEfnbkzQ8cKZOXFJ X-Received: by 2002:a63:da56:: with SMTP id l22-v6mr29381168pgj.179.1534431282104; Thu, 16 Aug 2018 07:54:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534431282; cv=none; d=google.com; s=arc-20160816; b=TNz/Tn4ggVuKtIxMz8wT71aahpCeVj7wTl1HskNn+F+wZewOiw3J56KbIaZsrtu3nI 98/rpv4Fr1GgzQJDr4O5AWUAl/I7fVSFidjZPKQqdu+NTekhiPX2xhzU/tiyINp5O6aZ kc94PHurpRWGXQTcghoxXPLeOVHR8iFDGXz81ovSWC2cZi+DfZswNhmNiKmGdpOjJ8rQ 7qF0zx0BpitCOtgg0BQMBSjZnzsOkQGeoGzITzWVbfP02XiUcplT4D/OXNhgRSD3Zo7g HU6WuU6p34xIW9n8fwPhybscMFWDwDP758NvTTncgokE9UOaU+Fg8bKySjNioYuzazBQ wbGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=l9LAcaLOUPSVGqntLxiSJLWzrX+NOuUHvU5F6i9qKJQ=; b=W8OZcyiPjekVxUIu/Ko1UJBhvRTugv7PjsagVahHtwuA4wY8GqNKiRpt5R1ARmM9An G8l/vD3MB8yuRxmm4sULSeDUNUDINECmNb5485IMn8lxBGGGY5Pzj4jmTJOxJYKdWCJZ Nkti5GfbJ2K3QLhOrcDRZLctcmz2dJv3jGTsxbXZZR5mLvpzlDC2/90gIoCjGa6RUErB fLHDiiB5fAgIueMVKkibxa5HES5Ja6NLTNhJebqfHRKqdSB4ZTyjTC3RkenRKoWuSWYO 9fl8K2W2hKnM3Cs4Uwa08Dt68qBX8bLyYnBKUK/uyN2obdV6XvBfmPvHiTiKDhosh55W lTPQ== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y8-v6si29782168pfk.75.2018.08.16.07.54.13; Thu, 16 Aug 2018 07:54:42 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389767AbeHPLAe (ORCPT + 99 others); Thu, 16 Aug 2018 07:00:34 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:35796 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726321AbeHPLAe (ORCPT ); Thu, 16 Aug 2018 07:00:34 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 4AB05819703A; Thu, 16 Aug 2018 08:03:50 +0000 (UTC) Received: from dhcp-128-65.nay.redhat.com (ovpn-12-131.pek2.redhat.com [10.72.12.131]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4A0612166BA5; Thu, 16 Aug 2018 08:03:37 +0000 (UTC) Date: Thu, 16 Aug 2018 16:02:59 +0800 From: Dave Young To: Yannik Sembritzki Cc: Linus Torvalds , David Howells , Thomas Gleixner , Ingo Molnar , Peter Anvin , the arch/x86 maintainers , Linux Kernel Mailing List , Baoquan He , Justin Forbes , Peter Jones , Greg Kroah-Hartman , James Bottomley , Matthew Garrett , Vivek Goyal Subject: Re: [PATCH 2/2] [FIXED v2] Replace magic for trusting the secondary keyring with #define Message-ID: <20180816080259.GA6241@dhcp-128-65.nay.redhat.com> References: <20180815194244.29564-3-yannik@sembritzki.me> <201808160443.5h16PxVs%fengguang.wu@intel.com> <1bfa03ed-c9f8-d0f2-700c-c93e96d5b99c@sembritzki.me> <20180816011106.GC5915@dhcp-128-65.nay.redhat.com> <7834c175-7480-d5bd-d964-a4dd783af1f3@sembritzki.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7834c175-7480-d5bd-d964-a4dd783af1f3@sembritzki.me> User-Agent: Mutt/1.9.5 (2018-04-13) X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Thu, 16 Aug 2018 08:03:50 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Thu, 16 Aug 2018 08:03:50 +0000 (UTC) for IP:'10.11.54.6' DOMAIN:'int-mx06.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'dyoung@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/16/18 at 09:43am, Yannik Sembritzki wrote: > On 16.08.2018 03:11, Dave Young wrote: > > Instead of fix your 1st patch in 2nd patch, I would suggest to > > switch the patch order. In 1st patch change the common code to use > > the new macro and in 2nd patch you can directly fix the kexec code > > with TRUST_SECONDARY_KEYRING. > My reasoning for doing it in this order was that the first patch which > fixes the bug itself should be merged into stable, while the refactoring > doesn't necessarily have to. I'm not familiar with the linux development > process, so please correct me if this should be done in another fashion. Frankly I'm not sure about the stable process. But personally I do not like the order. Cced Greg for opinions about stable concern. > > Yannik