rc = tpm_read_log_acpi(chip); if (rc != -ENODEV) return rc;
rc = tpm_read_log_efi(chip); if (rc != -ENODEV) return rc;
return tpm_read_log_of(chip);
}
/* * tpm_bios_log_setup() - Read the event log from the firmware * @chip: TPM chip to use. * * If an event log is found then the securityfs files are setup to * export it to userspace, otherwise nothing is done.
*/ void tpm_bios_log_setup(struct tpm_chip *chip)
{ constchar *name = dev_name(&chip->dev); struct dentry *dentry; int log_version; int rc = 0;
chip->bios_dir = securityfs_create_dir(name, NULL); /* NOTE: securityfs_create_dir can return ENODEV if securityfs is * compiled out. The caller should ignore the ENODEV return code.
*/ if (IS_ERR(chip->bios_dir)) return;
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.