Function report |
Source Code:security\integrity\ima\ima_policy.c |
Create Date:2022-07-28 19:59:02 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Validating the appended signature included in the measurement list requires* the file hash calculated without the appended signature (i.e., the 'd-modsig'* field). Therefore, notify the user if they have the 'modsig' field but not
Proto:static void check_template_modsig(const struct ima_template_desc *template)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const struct ima_template_desc * | template |
| 874 | If checked Then Return |
| 877 | has_modsig = has_dmodsig = false |
| 878 | When i < num_fields cycle |
| 879 | If Not strcmp(field_id, "modsig") Then has_modsig = true |
| 881 | Else if Not strcmp(field_id, "d-modsig") Then has_dmodsig = true |
| 888 | checked = true |
| Name | Describe |
|---|---|
| ima_parse_rule |
| 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 |