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

/linux-4.4.14/security/integrity/ima/
H A Dima_init.c98 int unset_flags = ima_policy_flag & IMA_APPRAISE; ima_load_x509()
100 ima_policy_flag &= ~unset_flags; ima_load_x509()
102 ima_policy_flag |= unset_flags; ima_load_x509()
H A Dima_main.c147 if (!ima_policy_flag || !S_ISREG(inode->i_mode)) ima_file_free()
170 if (!ima_policy_flag || !S_ISREG(inode->i_mode)) process_measurement()
179 (ima_policy_flag & IMA_MEASURE)); process_measurement()
H A Dima_appraise.c321 if (!(ima_policy_flag & IMA_APPRAISE) || !S_ISREG(inode->i_mode) ima_inode_post_setattr()
359 if (!(ima_policy_flag & IMA_APPRAISE) || !S_ISREG(inode->i_mode)) ima_reset_appraise_flags()
H A Dima_policy.c40 int ima_policy_flag; variable
359 * Initialize the ima_policy_flag variable based on the currently
368 ima_policy_flag = 0; list_for_each_entry()
371 ima_policy_flag |= entry->action; list_for_each_entry()
375 ima_policy_flag &= ~IMA_APPRAISE;
H A Dima.h47 extern int ima_policy_flag;
H A Dima_api.c175 flags &= ima_policy_flag; ima_get_action()

Completed in 205 milliseconds