Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

Name: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.

Proto:void ima_update_policy_flag(void)

Type:void

Parameter:Nothing

552  If action & IMA_DO_MASK Then ima_policy_flag |= action
556  ima_appraise |= build_ima_appraise | temp_ima_appraise
557  If Not ima_appraise Then ima_policy_flag &= ~IMA_APPRAISE
Caller
NameDescribe
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