Searched refs:template_name (Results 1 – 3 of 3) sorted by relevance
/linux-6.3-rc2/security/integrity/ima/ |
A D | ima_template.c | 325 static struct ima_template_desc *restore_template_fmt(char *template_name) in restore_template_fmt() argument 330 ret = template_desc_init_fields(template_name, NULL, NULL); in restore_template_fmt() 333 template_name); in restore_template_fmt() 342 template_desc->fmt = kstrdup(template_name, GFP_KERNEL); in restore_template_fmt() 416 char template_name[MAX_TEMPLATE_NAME_LEN]; in ima_restore_measurement_list() local 478 memcpy(template_name, hdr[HDR_TEMPLATE_NAME].data, in ima_restore_measurement_list() 480 template_name[hdr[HDR_TEMPLATE_NAME].len] = 0; in ima_restore_measurement_list() 482 if (strcmp(template_name, "ima") == 0) { in ima_restore_measurement_list() 484 template_name); in ima_restore_measurement_list() 489 template_desc = lookup_template_desc(template_name); in ima_restore_measurement_list() [all …]
|
A D | ima_fs.c | 132 char *template_name; in ima_measurements_show() local 142 template_name = (e->template_desc->name[0] != '\0') ? in ima_measurements_show() 157 namelen = !ima_canonical_fmt ? strlen(template_name) : in ima_measurements_show() 158 (__force u32)cpu_to_le32(strlen(template_name)); in ima_measurements_show() 162 ima_putc(m, template_name, strlen(template_name)); in ima_measurements_show() 165 if (strcmp(template_name, IMA_TEMPLATE_IMA_NAME) == 0) in ima_measurements_show() 222 char *template_name; in ima_ascii_measurements_show() local 230 template_name = (e->template_desc->name[0] != '\0') ? in ima_ascii_measurements_show() 240 seq_printf(m, " %s", template_name); in ima_ascii_measurements_show()
|
A D | ima_api.c | 109 char *template_name = entry->template_desc->name; in ima_store_template() local 117 template_name, op, in ima_store_template()
|
Completed in 9 milliseconds