函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Restore the measurement list from the previous kernel.

函数原型:void ima_load_kexec_buffer(void)

返回类型:void

参数:

142  void * kexec_buffer = NULL
143  kexec_buffer_size等于0
146  rc等于ima_get_kexec_buffer( & kexec_buffer, & kexec_buffer_size)
148  :rc恒等于0
149  rc等于Restore the serialized binary measurement list without extending PCRs.
151  如果rc不等于0则打印错误信息("Failed to restore the measurement list: %d\n", rc)
155  ima_free_kexec_buffer()
156  退出
157  :rc恒等于负Operation is not supported
158  pr_debug("Restoring the measurement list not supported\n")
159  退出
160  :rc恒等于负ENOENT
161  pr_debug("No measurement list to restore\n")
162  退出
163  默认
164  pr_debug("Error restoring the measurement list: %d\n", rc)