/* * Determines whether the file system of a superblock is located on * a verity device that is trusted by LoadPin.
*/ bool dm_verity_loadpin_is_bdev_trusted(struct block_device *bdev)
{ struct mapped_device *md; struct dm_table *table; struct dm_target *ti; int srcu_idx; bool trusted = false;
if (bdev == NULL) returnfalse;
if (list_empty(&dm_verity_loadpin_trusted_root_digests)) returnfalse;
md = dm_get_md(bdev->bd_dev); if (!md) returnfalse;
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.