Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4061231rwd; Tue, 23 May 2023 02:29:34 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5pD5d56igNuTYYqfXpunmR2dSUk1ezIKkU/dh7lfPRPSWMPZptz6zBAb1ppuHQ3odnARZR X-Received: by 2002:a05:6a20:a5a8:b0:10c:8f0c:f81c with SMTP id bc40-20020a056a20a5a800b0010c8f0cf81cmr1048323pzb.53.1684834174194; Tue, 23 May 2023 02:29:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684834174; cv=none; d=google.com; s=arc-20160816; b=cs0QAwknmCeXAH+VDlUq638uYc4rKqX9nxIW3n2uLyx04bn9wNTrm3iB3VmNtI5lWF wwJ48faMIbYTSe4680+WqTfi/lDw51sPKcnYae71WLWCqyiIslsOvWmfk1QZK3t/GaYw 3lR4Ss2wCjjeltVJHldXxRsxha6F0fB0TrAyPKjboEsyewTXsiI8JHwlqj/CPfoJVKa7 PtjoEKogdWqqWvbobMF+WviWMzA1GlRr+St0faguCdizqjgiGPspD1USTwEd3UH/zrJA CrMoO+mZzkonKN4Qkazh64tYTI4lZ7ML8bnh1Q5b2SjHU0WcWEe6uqT/n4WvfczzdBeY GHRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=dNbc2Gn4lCWbgtCz86CXU5/fu3n/2droTjC+nnxxbnU=; b=Asuft5D+HfsNq9APKXuC9xa3oDJMjDUpahNGUd0+qxDSR8KT8ISvIxxLWhHqS6YJGe Wz+C2Pr0VmNcZNi87YRoB0m6TmjqdQjKWzjVOGD65XkcM8yKyhVKiUXi/3HhdytxJLiW /M/LiYzrRLkXr20csFZQYC1RqWmeZ8qSyPzVx4X2cCTsgnxlbVM+2gIdjYNatlULxCrj yqiXyTkBDkCNNMMNfv3oetliXsMctt2LMfUEmbU4QR+RD3IIGwi8Hm5tXLia/1qC9S5K JrxeT+KEx83Vdbg5E1e1tTOS64Zw1GF75dxPu5xiEKCNyseoaJ3Fotlcx3q0n8cKv6U2 //wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=m3dxUrhr; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z4-20020aa79f84000000b0064cf289a2d8si1131587pfr.127.2023.05.23.02.29.20; Tue, 23 May 2023 02:29:34 -0700 (PDT) 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=@linaro.org header.s=google header.b=m3dxUrhr; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235888AbjEWJHS (ORCPT + 99 others); Tue, 23 May 2023 05:07:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236309AbjEWJGp (ORCPT ); Tue, 23 May 2023 05:06:45 -0400 Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C0BE126 for ; Tue, 23 May 2023 02:06:43 -0700 (PDT) Received: by mail-pf1-x430.google.com with SMTP id d2e1a72fcca58-64d3fbb8c1cso4430819b3a.3 for ; Tue, 23 May 2023 02:06:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684832802; x=1687424802; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=dNbc2Gn4lCWbgtCz86CXU5/fu3n/2droTjC+nnxxbnU=; b=m3dxUrhr7ssgRxrCAnXnCiKgDYN8FVNpEG1YyZbv4SLdIGjLgsQGnUBkj9mbtZpseW worrOSfWPZSONyeV/X665KYq26WN+UhV5ll4mRUCEfv3J6mkqpbjGp40zJGXTYjOGlMI nWxa2a/az1+rQoG26sqlSUf0bKi9YMt5x2REdpKGAnUw3lwHBlkBpPbuUJ9BErVZxUlT VGF4ki/86wwgy4hR+eyrZS3BftXKUkKpTxD7/q7Lv9nuCpB0E8LqW+Sfq464PUIHj3NT zdGGTkKsOgx/VQ+ddPjGoGm4xAoPG18HgxtsR5qYKc8/x+WHyNkjpu/NEkPmKrJxWe4c I70Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684832802; x=1687424802; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dNbc2Gn4lCWbgtCz86CXU5/fu3n/2droTjC+nnxxbnU=; b=hZHyRz/dwHJcPAdQZCoNuAe+tniPZMgaqOpNWpJGlIMnBrpz6EblnYJY8o0Om9je9G Lga5zGOct4G+BJTb2WTX4Pu30+8p2izfKE5uRr0vkcJ9pQUK412/DKpljo3QAzwFRKOM 0EIPYCA2/qcuz+++/E2QwJSJLTY/MCc9AqZtXnJX3hncE1D39s7w6GWCkzi3FUQ1nst2 t0t657QxzteW8Sf/8NhBeRmVi1RDKYpGg1MeLJB5qhqAcvNzhsI/FClBAxgCdoqy155S bc17Rth5WqykpgNq8YwgHFiJaRv1z6IRHh2npThm7acGfhpXDsBn9vv+QjhlGIAsU+k6 r+dg== X-Gm-Message-State: AC+VfDyyOllwusn1fYD6p52HNBgU430qdXwuM6JkRL/I37IjziOrhHI9 dwkEHjKBgKuSi3wa+w4q5V1JK3emcumjIUnOU/E= X-Received: by 2002:a05:6a00:23cc:b0:63d:368b:76b4 with SMTP id g12-20020a056a0023cc00b0063d368b76b4mr19569935pfc.17.1684832802632; Tue, 23 May 2023 02:06:42 -0700 (PDT) Received: from localhost.localdomain (fp9875a45d.knge128.ap.nuro.jp. [152.117.164.93]) by smtp.gmail.com with ESMTPSA id b19-20020aa78113000000b006410f4f3ecdsm5338195pfi.83.2023.05.23.02.06.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 May 2023 02:06:42 -0700 (PDT) From: Masahisa Kojima To: Ard Biesheuvel , Jens Wiklander , Sumit Garg , linux-kernel@vger.kernel.org, op-tee@lists.trustedfirmware.org Cc: Ilias Apalodimas , Johan Hovold , Masahisa Kojima , linux-efi@vger.kernel.org Subject: [PATCH v4 2/3] efi: Add EFI_ACCESS_DENIED status code Date: Tue, 23 May 2023 18:06:05 +0900 Message-Id: <20230523090607.1433-3-masahisa.kojima@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230523090607.1433-1-masahisa.kojima@linaro.org> References: <20230523090607.1433-1-masahisa.kojima@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 This commit adds the EFI_ACCESS_DENIED status code. Co-developed-by: Ilias Apalodimas Signed-off-by: Ilias Apalodimas Signed-off-by: Masahisa Kojima --- include/linux/efi.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/efi.h b/include/linux/efi.h index 6d6c5e384345..b3b74a5fb60f 100644 --- a/include/linux/efi.h +++ b/include/linux/efi.h @@ -39,6 +39,7 @@ #define EFI_WRITE_PROTECTED ( 8 | (1UL << (BITS_PER_LONG-1))) #define EFI_OUT_OF_RESOURCES ( 9 | (1UL << (BITS_PER_LONG-1))) #define EFI_NOT_FOUND (14 | (1UL << (BITS_PER_LONG-1))) +#define EFI_ACCESS_DENIED (15 | (1UL << (BITS_PER_LONG-1))) #define EFI_TIMEOUT (18 | (1UL << (BITS_PER_LONG-1))) #define EFI_ABORTED (21 | (1UL << (BITS_PER_LONG-1))) #define EFI_SECURITY_VIOLATION (26 | (1UL << (BITS_PER_LONG-1))) -- 2.30.2