From patchwork Mon Feb 6 11:22:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 93405 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp1660991qgi; Mon, 6 Feb 2017 03:24:01 -0800 (PST) X-Received: by 10.99.173.14 with SMTP id g14mr12829657pgf.176.1486380241322; Mon, 06 Feb 2017 03:24:01 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1si422082plk.2.2017.02.06.03.24.01; Mon, 06 Feb 2017 03:24:01 -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; dkim=pass header.i=@linaro.org; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751805AbdBFLXs (ORCPT + 25 others); Mon, 6 Feb 2017 06:23:48 -0500 Received: from mail-wr0-f176.google.com ([209.85.128.176]:34245 "EHLO mail-wr0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751716AbdBFLXp (ORCPT ); Mon, 6 Feb 2017 06:23:45 -0500 Received: by mail-wr0-f176.google.com with SMTP id o16so21719773wra.1 for ; Mon, 06 Feb 2017 03:23:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Fu210U+mcdlVyTfi3yJ5YVbWDV7eA+Yl7o6VhATWCyo=; b=TCW8GQVn51OUubUC4mG8Zs/g4JD3mBwl9yCGGeinLx/Q6b2rlN8h6Tw5ZSXM6VZ85j rLgC8aZaYktVd/8ZPXjoDTG5Ty87lTmjfHMqe/zFzNQfNigaKR26Ffrnn/eZU73yv30Y oHlGvK+K9Lp1xlnXpBwMup9DzkEdJplhQ6xtw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Fu210U+mcdlVyTfi3yJ5YVbWDV7eA+Yl7o6VhATWCyo=; b=blo/m4/xAzF2Q/yGU56TiRHf95RogKaXyOSMEAQZwhbfAIMNRgl7/M3pwU5KdxwELE mKKNpFgL95cgsoRbH/KlIO5kLhZzyxHPvL1ZLNpYECSNhKOrIDm+6XSKhh0BFNWcHp+8 CHhl6r6EUKkdE0e3dLdxcUO4VtCoWT1ZGeeJsAeZ/hL3Q3y9hwjWnu750D9XDte7KB22 vHIRM6z861mKAIHmXTKcyTScRLimhYi+RCVjb13zEebljKCTY6dRzRv1Sq829OQRfsxy hvYRLeJdffmJRFfbqLAwpOmcwV/e+CQRNQQyGvXgXK4eLfra0AjrJRJFGIkMn3o2w1K7 2HfA== X-Gm-Message-State: AIkVDXJXsLhz7lE1+co+vG8nw+4T7g5k6sBqHhFW6IHqw7v51xz4YxzRAyBC44ccQabw1QVr X-Received: by 10.223.172.210 with SMTP id o76mr8741053wrc.21.1486380223742; Mon, 06 Feb 2017 03:23:43 -0800 (PST) Received: from localhost.localdomain ([160.169.163.122]) by smtp.gmail.com with ESMTPSA id o70sm903698wrc.20.2017.02.06.03.23.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 06 Feb 2017 03:23:42 -0800 (PST) From: Ard Biesheuvel To: matt@codeblueprint.co.uk, Ingo Molnar , Thomas Gleixner , "H . Peter Anvin" Cc: David Howells , Ard Biesheuvel , linux-kernel@vger.kernel.org, linux-efi@vger.kernel.org, Josh Boyer Subject: [PATCH 3/7] efi: Add SHIM and image security database GUID definitions Date: Mon, 6 Feb 2017 11:22:42 +0000 Message-Id: <1486380166-31868-4-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1486380166-31868-1-git-send-email-ard.biesheuvel@linaro.org> References: <1486380166-31868-1-git-send-email-ard.biesheuvel@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: David Howells Add the definitions for shim and image security database, both of which are used widely in various Linux distros. Signed-off-by: Josh Boyer Signed-off-by: David Howells Cc: Matt Fleming Signed-off-by: Ard Biesheuvel --- include/linux/efi.h | 3 +++ 1 file changed, 3 insertions(+) -- 2.7.4 diff --git a/include/linux/efi.h b/include/linux/efi.h index 8c6e007a5408..52c87de3e50d 100644 --- a/include/linux/efi.h +++ b/include/linux/efi.h @@ -611,6 +611,9 @@ void efi_native_runtime_setup(void); #define EFI_CONSOLE_OUT_DEVICE_GUID EFI_GUID(0xd3b36f2c, 0xd551, 0x11d4, 0x9a, 0x46, 0x00, 0x90, 0x27, 0x3f, 0xc1, 0x4d) #define APPLE_PROPERTIES_PROTOCOL_GUID EFI_GUID(0x91bd12fe, 0xf6c3, 0x44fb, 0xa5, 0xb7, 0x51, 0x22, 0xab, 0x30, 0x3a, 0xe0) +#define EFI_IMAGE_SECURITY_DATABASE_GUID EFI_GUID(0xd719b2cb, 0x3d3a, 0x4596, 0xa3, 0xbc, 0xda, 0xd0, 0x0e, 0x67, 0x65, 0x6f) +#define EFI_SHIM_LOCK_GUID EFI_GUID(0x605dab50, 0xe046, 0x4300, 0xab, 0xb6, 0x3d, 0xd8, 0x10, 0xdd, 0x8b, 0x23) + /* * This GUID is used to pass to the kernel proper the struct screen_info * structure that was populated by the stub based on the GOP protocol instance