Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp995523imu; Tue, 11 Dec 2018 10:51:47 -0800 (PST) X-Google-Smtp-Source: AFSGD/UuMybYma/G8lfj0hdXRXXxbbw5u2itgdIKztAUNNVRHc6xciURgzjI+xDLuMGDggBurFm2 X-Received: by 2002:a63:a84a:: with SMTP id i10mr15827364pgp.263.1544554307173; Tue, 11 Dec 2018 10:51:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544554307; cv=none; d=google.com; s=arc-20160816; b=grTd4HsVWeA0GFVaj85o0XqGQkkV4XuqOPxXMji6Awf7/c+t1bE2CNMuf5vMhuBo3v QVvhpHiG8mArt5cqlKjiK/cF1kfi77uK2MoV70hOmAGBRZcQ716AqPKTrZPhOnwXx9eG sTdarhpuE8r5nMwgDj3TSQK1gMy5kHH+08hBjAcEI+jPjiJkShI6LXg+TorBTngVveAU hKGBY61NHGbsOgvRw74TcMf5jA+CU5nZToYgVD0EW9Dx5TT8Y/B2QXWuyLwlCqkGmu1q IbD31zNwhRL92FVum86qXk2BMQ+RcUN1AY5gZxwHYXvW2v1EQpMAXdB47UBHBAd+zVOY ZeLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=E8IzEfG9rKM7FslX3TUteTU+1QswkCEfFTCDomlj0zw=; b=jo5Nnzc/24Bezqhb+CdPElzHF0eD+c/yq2QuiXiY+fypWZ6nno9UYRancKuwbvQ8Bq VkOus/dJav7xI+0j/G28aOjj4qn+8rHKgXdVBDoWc/JqmQR03CgGw7acC8aIZMBta/mL Vm94sbMX1lyVFqs8XTesJJQWbpxyjsUmWfWqkNsfgmsooEvzLTbSD7Gy0XOJ2JBJQ/7j iKDE3edFhPff2nN/hysj2Eo83Zg/CWzrJ9QZqCALc62cOBjw9sceN6g5bQSytKBmCV+W Ldxk2YKxCLnXn0dm1APDn/kHVOzg25yiYB+MdUiuQ4z6HZaVehzzbBQ910f3Wol5QCyi 4HwA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h88si13544652pfa.49.2018.12.11.10.51.32; Tue, 11 Dec 2018 10:51:47 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726733AbeLKSta (ORCPT + 99 others); Tue, 11 Dec 2018 13:49:30 -0500 Received: from namei.org ([65.99.196.166]:59004 "EHLO namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726241AbeLKSt3 (ORCPT ); Tue, 11 Dec 2018 13:49:29 -0500 Received: from localhost (localhost [127.0.0.1]) by namei.org (8.14.4/8.14.4) with ESMTP id wBBIn05S012701; Tue, 11 Dec 2018 18:49:00 GMT Date: Wed, 12 Dec 2018 05:49:00 +1100 (AEDT) From: James Morris To: Nayna Jain cc: linux-integrity@vger.kernel.org, linux-security-module@vger.kernel.org, linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org, zohar@linux.ibm.com, dhowells@redhat.com, jforbes@redhat.com, seth.forshee@canonical.com, kexec@lists.infradead.org, keyrings@vger.kernel.org, vgoyal@redhat.com, ebiederm@xmission.com, mpe@ellerman.id.au, Josh Boyer Subject: Re: [PATCH v2 6/7] efi: Allow the "db" UEFI variable to be suppressed In-Reply-To: <20181208202705.18673-7-nayna@linux.ibm.com> Message-ID: References: <20181208202705.18673-1-nayna@linux.ibm.com> <20181208202705.18673-7-nayna@linux.ibm.com> User-Agent: Alpine 2.21 (LRH 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 9 Dec 2018, Nayna Jain wrote: > From: Josh Boyer > > If a user tells shim to not use the certs/hashes in the UEFI db variable > for verification purposes, shim will set a UEFI variable called > MokIgnoreDB. Have the uefi import code look for this and ignore the db > variable if it is found. > > Signed-off-by: Josh Boyer > Signed-off-by: David Howells > Acked-by: Nayna Jain > Acked-by: Serge Hallyn Reviewed-by: James Morris -- James Morris