include/linux/dm-verity-loadpin.h

Source file repositories/reference/linux-study-clean/include/linux/dm-verity-loadpin.h

File Facts

System
Linux kernel
Corpus path
include/linux/dm-verity-loadpin.h
Extension
.h
Size
617 bytes
Lines
28
Domain
Core OS
Bucket
Core Kernel Interface
Inferred role
Core OS: implementation source
Status
source implementation candidate

Why This File Exists

Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.

Dependency Surface

Detected Declarations

Annotated Snippet

struct dm_verity_loadpin_trusted_root_digest {
	struct list_head node;
	unsigned int len;
	u8 data[] __counted_by(len);
};

#if IS_ENABLED(CONFIG_SECURITY_LOADPIN_VERITY)
bool dm_verity_loadpin_is_bdev_trusted(struct block_device *bdev);
#else
static inline bool dm_verity_loadpin_is_bdev_trusted(struct block_device *bdev)
{
	return false;
}
#endif

#endif /* __LINUX_DM_VERITY_LOADPIN_H */

Annotation

Implementation Notes