Home
last modified time | relevance | path

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

/Linux-v4.19/security/integrity/ima/
Dima_init.c99 int unset_flags = ima_policy_flag & IMA_APPRAISE; in ima_load_x509()
101 ima_policy_flag &= ~unset_flags; in ima_load_x509()
103 ima_policy_flag |= unset_flags; in ima_load_x509()
Dima_main.c159 if (!ima_policy_flag || !S_ISREG(inode->i_mode)) in ima_file_free()
186 if (!ima_policy_flag || !S_ISREG(inode->i_mode)) in process_measurement()
195 (ima_policy_flag & IMA_MEASURE)); in process_measurement()
Dima_appraise.c389 if (!(ima_policy_flag & IMA_APPRAISE) || !S_ISREG(inode->i_mode) in ima_inode_post_setattr()
424 if (!(ima_policy_flag & IMA_APPRAISE) || !S_ISREG(inode->i_mode)) in ima_reset_appraise_flags()
Dima_policy.c50 int ima_policy_flag; variable
455 ima_policy_flag |= entry->action; in ima_update_policy_flag()
460 ima_policy_flag &= ~IMA_APPRAISE; in ima_update_policy_flag()
577 ima_policy_flag = 0; in ima_update_policy()
Dima.h53 extern int ima_policy_flag;
Dima_api.c183 flags &= ima_policy_flag; in ima_get_action()