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:add_rules
Proto:static void add_rules(struct ima_rule_entry *entries, int count, enum policy_rule_list policy_rule)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct ima_rule_entry * | entries | |
int | count | |
enum policy_rule_list | policy_rule |
577 | i = 0 |
585 | If policy_rule & IMA_CUSTOM_POLICY Then |
586 | entry = kmemdup - duplicate region of memory*@src: memory region to duplicate*@len: memory region length*@gfp: GFP mask to use* Return: newly allocated copy of @src or %NULL in case of error |
588 | If Not entry Then Continue |
593 | If action == same as IMA_APPRAISE Then |
594 | temp_ima_appraise |= ima_appraise_flag(func) |
595 | If func == POLICY_CHECK Then temp_ima_appraise |= IMA_APPRAISE_POLICY |
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 |