Skip to contentSkip to conversation

integrity: Update comment for load_moklist_certs()

PATCH In review Yusong Gao 2 participants 2 messages May 11, 2024 – May 12, 2024

Subsystems (6)
lore
Share & tools
lore

Yusong Gao

author
#0 lore raw

PATCH 1/1 integrity: Update comment for load_moklist_certs()

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.

---
 security/integrity/platform_certs/load_uefi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
security/integrity/platform_certs/load_uefi.c +1 -1
index d1fdd113450a..e954776d3cfb 100644
@@ -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.
Signature · 1 line
2.34.1
maintainer
#1 lore raw
Quoted 14 lines · Yusong Gao

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.

---
 security/integrity/platform_certs/load_uefi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
security/integrity/platform_certs/load_uefi.c +0 -0
index d1fdd113450a..e954776d3cfb 100644

security/integrity/platform_certs/load_uefi.c static __init void *get_cert_list(efi_char16_t *name, efi_guid_t *guid, · line 103

Quoted 8 lines
security/integrity/platform_certs/load_uefi.c +1 -1
@@ -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.

Alone pretty useless change to be honest. Can be fixed up when something relevant is changed.

BR, Jarkko