/* * Blacklist the hash of an executable.
*/ static __init void uefi_blacklist_binary(constchar *source, constvoid *data, size_t len)
{
mark_hash_blacklisted(data, len, BLACKLIST_HASH_BINARY);
}
/* * Add an X509 cert to the revocation list.
*/ static __init void uefi_revocation_list_x509(constchar *source, constvoid *data, size_t len)
{
add_key_to_revocation_list(data, len);
}
/* * Return the appropriate handler for particular signature list types found in * the UEFI db tables.
*/
__init efi_element_handler_t get_handler_for_db(const efi_guid_t *sig_type)
{ if (efi_guidcmp(*sig_type, efi_cert_x509_guid) == 0) return add_to_platform_keyring; return NULL;
}
/* * Return the appropriate handler for particular signature list types found in * the MokListRT tables.
*/
__init efi_element_handler_t get_handler_for_mok(const efi_guid_t *sig_type)
{ if (efi_guidcmp(*sig_type, efi_cert_x509_guid) == 0) { if (IS_ENABLED(CONFIG_INTEGRITY_MACHINE_KEYRING) &&
imputed_trust_enabled()) return add_to_machine_keyring; else return add_to_platform_keyring;
} return NULL;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.