Function report |
Source Code:security\integrity\ima\ima_policy.c |
Create Date:2022-07-28 19:58:58 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ima_init_arch_policy
Proto:static int __init ima_init_arch_policy(void)
Type:int
Parameter:Nothing
607 | arch_entries = 0 |
608 | i = 0 |
610 | arch_rules = arch_get_ima_policy() |
611 | If Not arch_rules Then Return arch_entries |
615 | When * rules != NULL cycle arch_entries++ |
620 | If Not An array of architecture specific rules Then Return 0 |
631 | result = ima_parse_rule(rule, & An array of architecture specific rules [i]) |
632 | If result Then |
635 | memset( & An array of architecture specific rules [i], 0, size of An array of architecture specific rules ) |
637 | Continue |
639 | i++ |
641 | Return i |
Name | Describe |
---|---|
ima_init_policy | ma_init_policy - initialize the default measure rules.* ima_rules points to either the ima_default_rules or the* the new ima_policy_rules. |
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 |