Home
last modified time | relevance | path

Searched refs:ima_policy_flag (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/security/integrity/ima/
Dima_init.c105 int unset_flags = ima_policy_flag & IMA_APPRAISE; in ima_load_x509()
107 ima_policy_flag &= ~unset_flags; in ima_load_x509()
109 ima_policy_flag |= unset_flags; in ima_load_x509()
Dima_main.c186 if (!ima_policy_flag || !S_ISREG(inode->i_mode)) in ima_file_free()
214 if (!ima_policy_flag || !S_ISREG(inode->i_mode)) in process_measurement()
224 (ima_policy_flag & IMA_MEASURE)); in process_measurement()
428 if (!(ima_policy_flag & IMA_APPRAISE) || !vma->vm_file || in ima_file_mprotect()
531 if (!ima_policy_flag) in ima_file_hash()
814 if (!ima_policy_flag) in process_buffer_measurement()
Dima_appraise.c512 if (!(ima_policy_flag & IMA_APPRAISE) || !S_ISREG(inode->i_mode) in ima_inode_post_setattr()
547 if (!(ima_policy_flag & IMA_APPRAISE) || !S_ISREG(inode->i_mode)) in ima_reset_appraise_flags()
Dima_api.c193 flags &= ima_policy_flag; in ima_get_action()
Dima_policy.c50 int ima_policy_flag; variable
686 ima_policy_flag |= entry->action; in ima_update_policy_flag()
691 ima_policy_flag &= ~IMA_APPRAISE; in ima_update_policy_flag()
880 ima_policy_flag = 0; in ima_update_policy()
Dima.h51 extern int ima_policy_flag;