函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\integrity\ima\ima_policy.c Create Date:2022-07-27 22:03:15
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Initialize the ima_policy_flag variable based on the currently* loaded policy. Based on this flag, the decision to short circuit* out of a function or not call the function in the first place* can be made earlier.

函数原型:void ima_update_policy_flag(void)

返回类型:void

参数:

552  如果action按位与IMA_DO_MASKima_policy_flag或等于action
556  ima_appraise或等于build_ima_appraise按位或temp_ima_appraise
557  如果非ima_appraiseima_policy_flag与等于IMA_APPRAISE的反
调用者
名称描述
ima_init_policyma_init_policy - initialize the default measure rules.* ima_rules points to either the ima_default_rules or the* the new ima_policy_rules.
ima_update_policyma_update_policy - update default_rules with new measure rules* Called on file .release to update the default rules with a complete new* policy. What we do here is to splice ima_policy_rules and ima_temp_rules so* they make a queue