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:ima_template_fmt_setup
Proto:static int __init ima_template_fmt_setup(char *str)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| char * | str |
| 118 | num_templates = ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(builtin_templates) |
| 120 | If ima_template Then Return 1 |
| 123 | If template_desc_init_fields(str, NULL, NULL) < 0 Then |
| 124 | pr_err("format string '%s' not valid, using template %s\n", str, CONFIG_IMA_DEFAULT_TEMPLATE) |
| 126 | Return 1 |
| 130 | ima_template = builtin_templates + num_templates - 1 |
| 132 | Return 1 |
| 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 |