Home
last modified time | relevance | path

Searched refs:ima_template_desc (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/security/integrity/ima/
Dima_template.c21 static struct ima_template_desc builtin_templates[] = {
59 static struct ima_template_desc *ima_template;
68 bool ima_template_has_modsig(const struct ima_template_desc *ima_template) in ima_template_has_modsig()
82 struct ima_template_desc *template_desc; in ima_template_setup()
136 struct ima_template_desc *lookup_template_desc(const char *name) in lookup_template_desc()
138 struct ima_template_desc *template_desc; in lookup_template_desc()
247 struct ima_template_desc *ima_template_desc_current(void) in ima_template_desc_current()
259 struct ima_template_desc *template = ima_template_desc_current(); in ima_init_template()
273 static struct ima_template_desc *restore_template_fmt(char *template_name) in restore_template_fmt()
275 struct ima_template_desc *template_desc = NULL; in restore_template_fmt()
[all …]
Dima.h85 struct ima_template_desc { struct
96 struct ima_template_desc *template_desc; /* template descriptor */ argument
141 struct ima_template_desc *desc, int num_fields,
153 struct ima_template_desc *ima_template_desc_current(void);
154 struct ima_template_desc *lookup_template_desc(const char *name);
155 bool ima_template_has_modsig(const struct ima_template_desc *ima_template);
210 struct ima_template_desc **template_desc);
219 struct ima_template_desc *template_desc);
224 struct ima_template_desc *template_desc);
234 struct ima_template_desc **template_desc);
Dima_api.c38 struct ima_template_desc *desc) in ima_alloc_init_template()
40 struct ima_template_desc *template_desc; in ima_alloc_init_template()
186 struct ima_template_desc **template_desc) in ima_get_action()
297 struct ima_template_desc *template_desc) in ima_store_measurement()
Dima_main.c48 struct ima_template_desc *template_desc = ima_template_desc_current(); in hash_setup()
198 struct ima_template_desc *template_desc = NULL; in process_measurement()
645 struct ima_template_desc *template_desc = NULL; in process_buffer_measurement()
Dima_crypto.c467 struct ima_template_desc *td, in ima_calc_field_array_hash_tfm()
513 struct ima_template_desc *desc, int num_fields, in ima_calc_field_array_hash()
Dima_policy.c82 struct ima_template_desc *template;
492 struct ima_template_desc **template_desc) in ima_match_policy()
857 static void check_template_modsig(const struct ima_template_desc *template) in check_template_modsig()
889 struct ima_template_desc *template_desc; in ima_parse_rule()