Home
last modified time | relevance | path

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

/openbmc/linux/security/integrity/ima/
H A Dima_init.c104 int unset_flags = ima_policy_flag & IMA_APPRAISE; in ima_load_x509()
106 ima_policy_flag &= ~unset_flags; in ima_load_x509()
112 ima_policy_flag |= unset_flags; in ima_load_x509()
H A Dima_main.c197 if (!ima_policy_flag || !S_ISREG(inode->i_mode)) in ima_file_free()
226 if (!ima_policy_flag || !S_ISREG(inode->i_mode)) in process_measurement()
238 (ima_policy_flag & IMA_MEASURE)); in process_measurement()
482 if (!(ima_policy_flag & IMA_APPRAISE) || !vma->vm_file || in ima_file_mprotect()
569 if (ima_policy_flag) { in __ima_inode_hash()
692 if (!ima_policy_flag || !S_ISREG(inode->i_mode)) in ima_post_create_tmpfile()
725 if (!ima_policy_flag || !S_ISREG(inode->i_mode)) in ima_post_path_mknod()
953 if (!ima_policy_flag && !digest) in process_buffer_measurement()
1009 if (!ima_policy_flag || (func && !(action & IMA_MEASURE))) in process_buffer_measurement()
H A Dima_appraise.c645 if (!(ima_policy_flag & IMA_APPRAISE) || !S_ISREG(inode->i_mode) in ima_inode_post_setattr()
678 if (!(ima_policy_flag & IMA_APPRAISE) || !S_ISREG(inode->i_mode)) in ima_reset_appraise_flags()
H A Dima_api.c197 flags &= ima_policy_flag; in ima_get_action()
H A Dima.h47 extern int ima_policy_flag;
H A Dima_policy.c54 int ima_policy_flag; variable
848 ima_policy_flag = new_policy_flag; in ima_update_policy_flags()
1044 ima_policy_flag = 0; in ima_update_policy()