函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\integrity\ima\ima_init.c Create Date:2022-07-27 21:58:33
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:ima_init

函数原型:int __init ima_init(void)

返回类型:int

参数:

107  ima_tpm_chip等于tpm_default_chip()
108  如果非ima_tpm_chip打印信息("No TPM chip found, activating TPM-bypass!\n")
111  rc等于integrity_init_keyring(INTEGRITY_KEYRING_IMA)
112  如果rc则返回:rc
115  rc等于ima_init_crypto()
116  如果rc则返回:rc
118  rc等于ima_init_template()
119  如果rc不等于0则返回:rc
123  ima_load_kexec_buffer()
125  rc等于ima_init_digests()
126  如果rc不等于0则返回:rc
128  rc等于Add the boot aggregate to the IMA measurement list and extend* the PCR register.* Calculate the boot aggregate, a SHA1 over tpm registers 0-7,* assuming a TPM chip exists, and zeroes if the TPM chip does not* exist
129  如果rc不等于0则返回:rc
132  ima_init_policy()
134  返回:ima_fs_init()
调用者
名称描述
init_ima