Lines Matching refs:ima_rule_entry
72 struct ima_rule_entry { struct
116 static struct ima_rule_entry dont_measure_rules[] __ro_after_init = {
134 static struct ima_rule_entry original_measurement_rules[] __ro_after_init = {
146 static struct ima_rule_entry default_measurement_rules[] __ro_after_init = {
162 static struct ima_rule_entry default_appraise_rules[] __ro_after_init = {
191 static struct ima_rule_entry build_appraise_rules[] __ro_after_init = {
210 static struct ima_rule_entry secure_boot_rules[] __ro_after_init = {
221 static struct ima_rule_entry critical_data_rules[] __ro_after_init = {
226 static struct ima_rule_entry *arch_policy_entry __ro_after_init;
347 static void ima_lsm_free_rule(struct ima_rule_entry *entry) in ima_lsm_free_rule()
357 static void ima_free_rule(struct ima_rule_entry *entry) in ima_free_rule()
373 static struct ima_rule_entry *ima_lsm_copy_rule(struct ima_rule_entry *entry) in ima_lsm_copy_rule()
375 struct ima_rule_entry *nentry; in ima_lsm_copy_rule()
386 memset(nentry->lsm, 0, sizeof_field(struct ima_rule_entry, lsm)); in ima_lsm_copy_rule()
405 static int ima_lsm_update_rule(struct ima_rule_entry *entry) in ima_lsm_update_rule()
408 struct ima_rule_entry *nentry; in ima_lsm_update_rule()
429 static bool ima_rule_contains_lsm_cond(struct ima_rule_entry *entry) in ima_rule_contains_lsm_cond()
447 struct ima_rule_entry *entry, *e; in ima_lsm_update_rules()
480 static bool ima_match_rule_data(struct ima_rule_entry *rule, in ima_match_rule_data()
534 static bool ima_match_rules(struct ima_rule_entry *rule, in ima_match_rules()
542 struct ima_rule_entry *lsm_rule = rule; in ima_match_rules()
647 static int get_subaction(struct ima_rule_entry *rule, enum ima_hooks func) in get_subaction()
696 struct ima_rule_entry *entry; in ima_match_policy()
764 struct ima_rule_entry *entry; in ima_update_policy_flags()
815 static void add_rules(struct ima_rule_entry *entries, int count, in add_rules()
821 struct ima_rule_entry *entry; in add_rules()
845 static int ima_parse_rule(char *rule, struct ima_rule_entry *entry);
1068 static int ima_lsm_rule_init(struct ima_rule_entry *entry, in ima_lsm_rule_init()
1150 static bool ima_validate_rule(struct ima_rule_entry *entry) in ima_validate_rule()
1298 static int ima_parse_rule(char *rule, struct ima_rule_entry *entry) in ima_parse_rule()
1722 struct ima_rule_entry *entry; in ima_parse_add_rule()
1764 struct ima_rule_entry *entry, *tmp; in ima_delete_rules()
1794 struct ima_rule_entry *entry; in ima_policy_start()
1811 struct ima_rule_entry *entry = v; in ima_policy_next()
1814 entry = list_entry_rcu(entry->list.next, struct ima_rule_entry, list); in ima_policy_next()
1868 struct ima_rule_entry *entry = v; in ima_policy_show()
2049 struct ima_rule_entry *entry; in ima_appraise_signature()