Home
last modified time | relevance | path

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

/security/integrity/ima/
Dima_api.c103 int violation, struct inode *inode, in ima_store_template() argument
111 if (!violation) { in ima_store_template()
122 result = ima_add_template_entry(entry, violation, op, inode, filename); in ima_store_template()
142 .violation = cause }; in ima_add_violation()
143 int violation = 1; in ima_add_violation() local
154 result = ima_store_template(entry, violation, inode, in ima_add_violation()
322 int violation = 0; in ima_store_measurement() local
340 result = ima_store_template(entry, violation, inode, filename, pcr); in ima_store_measurement()
Dima_queue.c159 int ima_add_template_entry(struct ima_template_entry *entry, int violation, in ima_add_template_entry() argument
171 if (!violation && !IS_ENABLED(CONFIG_IMA_DISABLE_HTABLE)) { in ima_add_template_entry()
187 if (violation) /* invalidate pcr */ in ima_add_template_entry()
Dima_init.c51 int violation = 0; in ima_add_boot_aggregate() local
89 result = ima_store_template(entry, violation, NULL, in ima_add_boot_aggregate()
Dima.h69 const char *violation; member
139 int ima_add_template_entry(struct ima_template_entry *entry, int violation,
281 int ima_store_template(struct ima_template_entry *entry, int violation,
Dima_template_lib.c321 if (event_data->violation) /* recording a violation. */ in ima_eventdigest_init()
377 if (event_data->violation) /* recording a violation. */ in ima_eventdigest_ng_init()
403 if (event_data->violation) { in ima_eventdigest_modsig_init()
Dima_main.c900 int violation = 0; in process_buffer_measurement() local
972 ret = ima_store_template(entry, violation, NULL, event_data.buf, pcr); in process_buffer_measurement()