Lines Matching defs:template

9  *      Helpers to manage template descriptors.
53 * need to be accounted for since they shouldn't be defined in the same template
61 * ima_template_has_modsig - Check whether template has modsig-related fields.
62 * @ima_template: IMA template to check.
64 * Tells whether the given template has fields referencing a file's appended
91 * Verify that a template with the supplied name exists.
96 pr_err("template %s not found, using %s\n",
103 * by the 'ima' template.
107 pr_err("template does not support hash alg\n");
125 pr_err("format string '%s' not valid, using template %s\n",
261 struct ima_template_desc *template = ima_template_desc_current();
264 result = template_desc_init_fields(template->fmt,
265 &(template->fields),
266 &(template->num_fields));
268 pr_err("template %s init failed, result: %d\n",
269 (strlen(template->name) ?
270 template->name : template->fmt), result);
282 pr_err("attempting to initialize the template \"%s\" failed\n",
332 ENFORCE_FIELDS | ENFORCE_BUFEND, "template data");
408 * v1 format: pcr, digest, template-name-len, template-name,
409 * template-data-size, template-data
422 pr_err("attempting to restore a template name that is too long\n");
427 /* template name is not null terminated */
433 pr_err("attempting to restore an unsupported template \"%s\" failed\n",
447 * Only the running system's template format is initialized
448 * on boot. As needed, initialize the other template formats.
454 pr_err("attempting to restore the template fmt \"%s\" failed\n",
472 pr_err("cannot calculate template digest\n");