Lines Matching refs:ima_rule_entry
98 struct ima_rule_entry { struct
147 static struct ima_rule_entry dont_measure_rules[] __ro_after_init = {
165 static struct ima_rule_entry original_measurement_rules[] __ro_after_init = {
177 static struct ima_rule_entry default_measurement_rules[] __ro_after_init = {
193 static struct ima_rule_entry default_appraise_rules[] __ro_after_init = {
222 static struct ima_rule_entry build_appraise_rules[] __ro_after_init = {
241 static struct ima_rule_entry secure_boot_rules[] __ro_after_init = {
252 static struct ima_rule_entry critical_data_rules[] __ro_after_init = {
257 static struct ima_rule_entry *arch_policy_entry __ro_after_init;
378 static void ima_lsm_free_rule(struct ima_rule_entry *entry) in ima_lsm_free_rule()
388 static void ima_free_rule(struct ima_rule_entry *entry) in ima_free_rule()
404 static struct ima_rule_entry *ima_lsm_copy_rule(struct ima_rule_entry *entry) in ima_lsm_copy_rule()
406 struct ima_rule_entry *nentry; in ima_lsm_copy_rule()
417 memset(nentry->lsm, 0, sizeof_field(struct ima_rule_entry, lsm)); in ima_lsm_copy_rule()
436 static int ima_lsm_update_rule(struct ima_rule_entry *entry) in ima_lsm_update_rule()
439 struct ima_rule_entry *nentry; in ima_lsm_update_rule()
460 static bool ima_rule_contains_lsm_cond(struct ima_rule_entry *entry) in ima_rule_contains_lsm_cond()
478 struct ima_rule_entry *entry, *e; in ima_lsm_update_rules()
511 static bool ima_match_rule_data(struct ima_rule_entry *rule, in ima_match_rule_data()
565 static bool ima_match_rules(struct ima_rule_entry *rule, in ima_match_rules()
573 struct ima_rule_entry *lsm_rule = rule; in ima_match_rules()
693 static int get_subaction(struct ima_rule_entry *rule, enum ima_hooks func) in get_subaction()
743 struct ima_rule_entry *entry; in ima_match_policy()
811 struct ima_rule_entry *entry; in ima_update_policy_flags()
862 static void add_rules(struct ima_rule_entry *entries, int count, in add_rules()
868 struct ima_rule_entry *entry; in add_rules()
892 static int ima_parse_rule(char *rule, struct ima_rule_entry *entry);
1128 static int ima_lsm_rule_init(struct ima_rule_entry *entry, in ima_lsm_rule_init()
1239 static bool ima_validate_rule(struct ima_rule_entry *entry) in ima_validate_rule()
1404 static int ima_parse_rule(char *rule, struct ima_rule_entry *entry) in ima_parse_rule()
1923 struct ima_rule_entry *entry; in ima_parse_add_rule()
1966 struct ima_rule_entry *entry, *tmp; in ima_delete_rules()
1996 struct ima_rule_entry *entry; in ima_policy_start()
2013 struct ima_rule_entry *entry = v; in ima_policy_next()
2016 entry = list_entry_rcu(entry->list.next, struct ima_rule_entry, list); in ima_policy_next()
2070 struct ima_rule_entry *entry = v; in ima_policy_show()
2286 struct ima_rule_entry *entry; in ima_appraise_signature()