Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\integrity\ima\ima.h Create Date:2022-07-28 19:57:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ima_collect_modsig

Proto:static inline void ima_collect_modsig(struct modsig *modsig, const void *buf, loff_t size)

Type:void

Parameter:

TypeParameterName
struct modsig *modsig
const void *buf
loff_tsize

NULL

Caller
NameDescribe
ima_collect_measurementma_collect_measurement - collect file measurement* Calculate the file hash, if it doesn't already exist,* storing the measurement and i_version in the iint.* Must be called with iint->mutex held.* Return 0 on success, error code otherwise