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()
407 struct ima_rule_entry *nentry; in ima_lsm_copy_rule()
418 memset(nentry->lsm, 0, sizeof_field(struct ima_rule_entry, lsm)); in ima_lsm_copy_rule()
438 static int ima_lsm_update_rule(struct ima_rule_entry *entry) in ima_lsm_update_rule()
441 struct ima_rule_entry *nentry; in ima_lsm_update_rule()
462 static bool ima_rule_contains_lsm_cond(struct ima_rule_entry *entry) in ima_rule_contains_lsm_cond()
480 struct ima_rule_entry *entry, *e; in ima_lsm_update_rules()
513 static bool ima_match_rule_data(struct ima_rule_entry *rule, in ima_match_rule_data()
567 static bool ima_match_rules(struct ima_rule_entry *rule, in ima_match_rules()
575 struct ima_rule_entry *lsm_rule = rule; in ima_match_rules()
695 static int get_subaction(struct ima_rule_entry *rule, enum ima_hooks func) in get_subaction()
745 struct ima_rule_entry *entry; in ima_match_policy()
813 struct ima_rule_entry *entry; in ima_update_policy_flags()
864 static void add_rules(struct ima_rule_entry *entries, int count, in add_rules()
870 struct ima_rule_entry *entry; in add_rules()
894 static int ima_parse_rule(char *rule, struct ima_rule_entry *entry);
1130 static int ima_lsm_rule_init(struct ima_rule_entry *entry, in ima_lsm_rule_init()
1242 static bool ima_validate_rule(struct ima_rule_entry *entry) in ima_validate_rule()
1407 static int ima_parse_rule(char *rule, struct ima_rule_entry *entry) in ima_parse_rule()
1926 struct ima_rule_entry *entry; in ima_parse_add_rule()
1969 struct ima_rule_entry *entry, *tmp; in ima_delete_rules()
1999 struct ima_rule_entry *entry; in ima_policy_start()
2016 struct ima_rule_entry *entry = v; in ima_policy_next()
2019 entry = list_entry_rcu(entry->list.next, struct ima_rule_entry, list); in ima_policy_next()
2073 struct ima_rule_entry *entry = v; in ima_policy_show()
2289 struct ima_rule_entry *entry; in ima_appraise_signature()