Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp880623lqo; Fri, 10 May 2024 20:23:40 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUQbqnq/DRGTd5CFO9OSMOf5QQcd29FIJzzFnPi5OBaVgo2niowKethRt5iULcAt5tcENLy/bLPIslv04WfnqY+gp9+aG4JSOIU8U1IGQ== X-Google-Smtp-Source: AGHT+IHH32bsl2TzQlE5TtLC+aT8y4gCQEzk9TYhRMCLCmtT+mtuRPR0o809b+diZFBL02EyDECB X-Received: by 2002:a05:6a00:1147:b0:6ea:8b0c:584 with SMTP id d2e1a72fcca58-6f4e02ac9a6mr5366760b3a.9.1715397820411; Fri, 10 May 2024 20:23:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715397820; cv=pass; d=google.com; s=arc-20160816; b=Q7IcDIoEpVWf2uSLuOzGphLQSJxnJ/exCRQzT6k2osHRLGUAVenYSFoNLYTaT4WkjE q1/mKKLzJeXHYKAUr2PtQaPJV+TQeI2GyDewx1joEDvtdkqvkJhuIFyvPKi/EU9lcOq1 Quf5LaqyqZAHSlz7OnM+GGfBn5ODFnR2OqUSBtXu2Y+ZrwHGDRkkob+Qqt6vhlYXyXgD Bxu7MQ8J9Dj57F+8zwaIHb6sjVCCKV5FGNvNHF5P+R7kikWTUucwsVAJi8CmyMd/HssS Yai9pKGCTqq2f1/D0RftbYMyxbkn/u2H0X4gEiKnLKLE/zNzLMA3NEN7FN23D3QE+nxC rD7A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=uMB81L/0jjAxWQ09aWZO4NxBHzsdYbHe8XIc7QrtT1U=; fh=rU0PIgog8PEn3RdWM5Ka+LoP5yI6tNw0tB4tvaTKvkU=; b=O3sb/mIro+fY8xPjWYPSPY/CtvAcTylHtMwBLuMWbdYlysdJuL8Ysih5ce/ko8gJKx QyXuuIfHma2eAes/GwXh8aQKg+rz+lKlXZXjOBywD0rkLmjDuVpsS8f4lbK2c2uZ43ff Hy+kDy9/J5oYXogU4EpmBD9SKrAyuj7UIz6Os6nqmT6ZdUHjgTTNVqImHYAtIqLpKMPD UOmSZN3g7CleS0lf4k+LBmhnuFDJBStEb+ZtlYKiJjk1EFMNanenB2qxoefXDLUx6o6s D59Yx4iqbV0b4/u7T4FV3uc4vJwk6wk7du60j5BxinvkungdVO/tSnz6KFVzQxYaFfeI XKTA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=N14iFgO+; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-176407-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176407-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f4d2a72608si4912256b3a.53.2024.05.10.20.23.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 20:23:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-176407-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=N14iFgO+; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-176407-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176407-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id A369EB23100 for ; Sat, 11 May 2024 03:22:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A99983D57A; Sat, 11 May 2024 03:22:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="N14iFgO+" Received: from mail-pj1-f50.google.com (mail-pj1-f50.google.com [209.85.216.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4915B2E644; Sat, 11 May 2024 03:22:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715397757; cv=none; b=feJ97wxfqhVWKsMPEX28+BWFEizfPzrpt0RiUkxiZmgoeq9ic9BkJTfFSUnPa63E2qYOw/ryxfZYKDiUt5msYkS44Dy2DQD6xGJFs3n2rHVB0aGK4w2B5ZuSX2tm7/1MEQKefz6sp2+KZ0qDyLFMCIBpIE/p7r8U18Xt4AO9yAk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715397757; c=relaxed/simple; bh=h84WJ7H+w15XmJ2O66TOYlk/zKdLB2pIjpHeUK0wgBM=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=iGGk03uLvW1QTh/WxJmK0Cewzjk9iEQTKtvsLXP6GX72we4zuO13COVJ9kT9d2+3/b95M3h5b8K+gHEiJ/gINM2KkVaMnbHO1cu6q2zyyCj/tCHikSxIKvLXWq8RW/Xk2QFmH44L/aNKOnoaka0FZ8YPFqld1KBfrQHpaYs3DPs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=N14iFgO+; arc=none smtp.client-ip=209.85.216.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pj1-f50.google.com with SMTP id 98e67ed59e1d1-2b12b52fbe0so2057575a91.0; Fri, 10 May 2024 20:22:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715397754; x=1716002554; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=uMB81L/0jjAxWQ09aWZO4NxBHzsdYbHe8XIc7QrtT1U=; b=N14iFgO+o2KJmYRrIocCbJOO+ahyzuuEXPzXep+paiUlqnT7rEGtvYgEFjFNJWm94N tZMLfuvyVVS3IV4h73dk+DEnN7Ekrf+5nmvCEtiNLu1lOrbEuSOZQyq76QemggDLsKvT 41wK+1wgwiDu1tbpobD9QNJyAlTccgrBmlwd8i1olrme1PfW4dPbNCQekROtZe6UWgAj Uy9pTXUvL84XrFeZUtpP10D4cK6V7W2oK71tF4qt8KCJo1Rs5MIweP00AxXbg+OJK2dd EE+MgHPks5Aj3/D3oRQdR4F9ZZqrEdEVVf+KdHOMao+cPd6KdbrXThJf5MlI9HWU1sGq 7ShA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715397754; x=1716002554; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=uMB81L/0jjAxWQ09aWZO4NxBHzsdYbHe8XIc7QrtT1U=; b=n9KBeGG6GRlBGxDrA2x+Ftn8yfgL1VA2bg1qYubbmEhw6bxx8jhkU7/UWBkb4mKSO5 CasPn3+p/xvUOptKcLuLZQdz9UmRDQ1Zu6Z4P+2jpp92amyQn1L5ERuxjhaDFVmgwIbj ZEOqFiZWJjLE04FkTMohdJx5Ls86YXg5QM4N2xJQXH7LVLBSI2sL2/gARhuhGJ5t5eON Zj4xkaDK4MWEwC3B66swrATCjlf6GFoIDXHV2IRI72xlD0lVO9ycPA5ASMj2fXc7+7Cs 9Z5NJd0QLtohSN13W6YQSMzKZqWDInIFAKCNNQGdBfPJGmQoBfU2JlbsX04Rlg3i7Yla ONrQ== X-Forwarded-Encrypted: i=1; AJvYcCWlRQOuv3RIKSEOBMYQXOCGgH3vUntRLX20bGU4UmYm4OWw3HdGU1ocd8aYzKi1C8KS1T6zS2gSAGk3++PNOmoKGwLMiebsHS+a0OzTxuQF67ETxEIYjj7efJ4b3NAaJ/Q2FQfkGtLX5bCptvGnT5WTS6JfdqIPwVL9eu0uf6oHRqdXJCsNVR9kkXCpzVA= X-Gm-Message-State: AOJu0Yye8z4INSAnnAZpImCTL0IJp/Ul0+u8k7H+JZYEHoOfbaybsRfn GxICAntBQy0KheVUXyGI8+JnerjuYtFaMAFQd+BG+fGSd31jIRIOQFIh6fZ0 X-Received: by 2002:a17:90a:dc82:b0:2b5:6e92:1096 with SMTP id 98e67ed59e1d1-2b6cc87abadmr4579606a91.28.1715397754463; Fri, 10 May 2024 20:22:34 -0700 (PDT) Received: from localhost.localdomain ([114.111.24.234]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1ef0b9d18basm39877875ad.57.2024.05.10.20.22.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 20:22:34 -0700 (PDT) From: Yusong Gao To: jarkko@kernel.org, zohar@linux.ibm.com, roberto.sassu@huawei.com, dmitry.kasatkin@gmail.com, eric.snowberg@oracle.com, paul@paul-moore.com, jmorris@namei.org, serge@hallyn.com Cc: linux-integrity@vger.kernel.org, keyrings@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, trivial@kernel.org Subject: [PATCH] integrity: Update comment for load_moklist_certs() Date: Sat, 11 May 2024 03:22:24 +0000 Message-Id: <20240511032224.818418-1-a869920004@gmail.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit After commit 45fcd5e521cd ("integrity: add new keyring handler for mok keys"), the comment about load_moklist_certs() is out-of-date. Change keyring name from platform to machine. Signed-off-by: Yusong Gao --- security/integrity/platform_certs/load_uefi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/integrity/platform_certs/load_uefi.c b/security/integrity/platform_certs/load_uefi.c index d1fdd113450a..e954776d3cfb 100644 --- a/security/integrity/platform_certs/load_uefi.c +++ b/security/integrity/platform_certs/load_uefi.c @@ -97,7 +97,7 @@ static __init void *get_cert_list(efi_char16_t *name, efi_guid_t *guid, * load_moklist_certs() - Load MokList certs * * Load the certs contained in the UEFI MokListRT database into the - * platform trusted keyring. + * machine keyring. * * This routine checks the EFI MOK config table first. If and only if * that fails, this routine uses the MokListRT ordinary UEFI variable. -- 2.34.1