Lines Matching refs:ima_rule_entry
68 struct ima_rule_entry { struct
102 static struct ima_rule_entry dont_measure_rules[] __ro_after_init = { argument
120 static struct ima_rule_entry original_measurement_rules[] __ro_after_init = {
132 static struct ima_rule_entry default_measurement_rules[] __ro_after_init = {
148 static struct ima_rule_entry default_appraise_rules[] __ro_after_init = {
177 static struct ima_rule_entry build_appraise_rules[] __ro_after_init = {
196 static struct ima_rule_entry secure_boot_rules[] __ro_after_init = {
208 static struct ima_rule_entry *arch_policy_entry __ro_after_init;
326 static void ima_lsm_free_rule(struct ima_rule_entry *entry) in ima_lsm_free_rule()
336 static void ima_free_rule(struct ima_rule_entry *entry) in ima_free_rule()
352 static struct ima_rule_entry *ima_lsm_copy_rule(struct ima_rule_entry *entry) in ima_lsm_copy_rule()
354 struct ima_rule_entry *nentry; in ima_lsm_copy_rule()
365 memset(nentry->lsm, 0, sizeof_field(struct ima_rule_entry, lsm)); in ima_lsm_copy_rule()
390 static int ima_lsm_update_rule(struct ima_rule_entry *entry) in ima_lsm_update_rule()
392 struct ima_rule_entry *nentry; in ima_lsm_update_rule()
412 static bool ima_rule_contains_lsm_cond(struct ima_rule_entry *entry) in ima_rule_contains_lsm_cond()
430 struct ima_rule_entry *entry, *e; in ima_lsm_update_rules()
463 static bool ima_match_keyring(struct ima_rule_entry *rule, in ima_match_keyring()
500 static bool ima_match_rules(struct ima_rule_entry *rule, struct inode *inode, in ima_match_rules()
582 static int get_subaction(struct ima_rule_entry *rule, enum ima_hooks func) in get_subaction()
628 struct ima_rule_entry *entry; in ima_match_policy()
682 struct ima_rule_entry *entry; in ima_update_policy_flag()
707 static void add_rules(struct ima_rule_entry *entries, int count, in add_rules()
713 struct ima_rule_entry *entry; in add_rules()
737 static int ima_parse_rule(char *rule, struct ima_rule_entry *entry);
950 static int ima_lsm_rule_init(struct ima_rule_entry *entry, in ima_lsm_rule_init()
1032 static bool ima_validate_rule(struct ima_rule_entry *entry) in ima_validate_rule()
1122 static int ima_parse_rule(char *rule, struct ima_rule_entry *entry) in ima_parse_rule()
1506 struct ima_rule_entry *entry; in ima_parse_add_rule()
1548 struct ima_rule_entry *entry, *tmp; in ima_delete_rules()
1578 struct ima_rule_entry *entry; in ima_policy_start()
1593 struct ima_rule_entry *entry = v; in ima_policy_next()
1596 entry = list_entry_rcu(entry->list.next, struct ima_rule_entry, list); in ima_policy_next()
1632 struct ima_rule_entry *entry = v; in ima_policy_show()
1793 struct ima_rule_entry *entry; in ima_appraise_signature()