Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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()
815 if (!ima_policy_flag) in process_buffer_measurement()
Dima_appraise.c513 if (!(ima_policy_flag & IMA_APPRAISE) || !S_ISREG(inode->i_mode) in ima_inode_post_setattr()
548 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
706 ima_policy_flag |= entry->action; in ima_update_policy_flag()
711 ima_policy_flag &= ~IMA_APPRAISE; in ima_update_policy_flag()
901 ima_policy_flag = 0; in ima_update_policy()
Dima.h51 extern int ima_policy_flag;