Function report |
Source Code:security\integrity\ima\ima_kexec.c |
Create Date:2022-07-28 19:59:34 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Restore the measurement list from the previous kernel.
Proto:void ima_load_kexec_buffer(void)
Type:void
Parameter:Nothing
| 142 | void * kexec_buffer = NULL |
| 143 | kexec_buffer_size = 0 |
| 146 | rc = ima_get_kexec_buffer( & kexec_buffer, & kexec_buffer_size) |
| 148 | Case rc == 0 |
| 155 | ima_free_kexec_buffer() |
| 156 | Break |
| 157 | Case rc == -Operation is not supported |
| 158 | pr_debug("Restoring the measurement list not supported\n") |
| 159 | Break |
| 161 | pr_debug("No measurement list to restore\n") |
| 162 | Break |
| 163 | Default |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |