Function report |
Source Code:security\integrity\ima\ima_template.c |
Create Date:2022-07-28 19:59:10 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:restore_template_fmt
Proto:static struct ima_template_desc *restore_template_fmt(char *template_name)
Type:struct ima_template_desc
Parameter:
Type | Parameter | Name |
---|---|---|
char * | template_name |
275 | struct ima_template_desc * template_desc = NULL |
278 | ret = template_desc_init_fields(template_name, NULL, NULL) |
279 | If ret < 0 Then |
280 | pr_err("attempting to initialize the template \"%s\" failed\n", template_name) |
282 | Go to out |
285 | template_desc = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). |
286 | If Not template_desc Then Go to out |
289 | name = "" |
294 | spin_lock( & template_list) |
296 | spin_unlock( & template_list) |
297 | out : |
298 | Return template_desc |
Name | Describe |
---|---|
ima_restore_measurement_list | Restore the serialized binary measurement list without extending PCRs. |
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 |