Home
last modified time | relevance | path

Searched refs:fields (Results 1 – 11 of 11) sorted by relevance

/security/integrity/ima/
Dima_template.c93 if (!strcmp(ima_template->fields[i]->field_id, "modsig") || in ima_template_has_modsig()
94 !strcmp(ima_template->fields[i]->field_id, "d-modsig")) in ima_template_has_modsig()
205 const struct ima_template_field ***fields, in template_desc_init_fields() argument
243 if (fields && num_fields) { in template_desc_init_fields()
244 *fields = kmalloc_array(i, sizeof(**fields), GFP_KERNEL); in template_desc_init_fields()
245 if (*fields == NULL) in template_desc_init_fields()
248 memcpy(*fields, found_fields, i * sizeof(**fields)); in template_desc_init_fields()
295 &(template->fields), in ima_init_template()
311 &(template->fields), in ima_init_template()
497 &(template_desc->fields), in ima_restore_measurement_list()
Dima_template_lib.c220 int maxfields, struct ima_field_data *fields, int *curfields, in ima_parse_buf() argument
232 fields[i].len = le32_to_cpu(*(__le32 *)bufp); in ima_parse_buf()
234 fields[i].len = *(u32 *)bufp; in ima_parse_buf()
239 if (bufp > (bufendp - fields[i].len)) in ima_parse_buf()
242 fields[i].data = bufp; in ima_parse_buf()
243 bufp += fields[i].len; in ima_parse_buf()
Dima_template_lib.h33 int maxfields, struct ima_field_data *fields, int *curfields,
Dima_fs.c178 e->template_desc->fields[i]; in ima_measurements_show()
248 e->template_desc->fields[i]->field_show(m, IMA_SHOW_ASCII, in ima_ascii_measurements_show()
Dima.h95 const struct ima_template_field **fields; member
155 const struct ima_template_field ***fields,
Dima_api.c67 template_desc->fields[i]; in ima_alloc_init_template()
Dima_policy.c1137 if (!strcmp(template->fields[i]->field_id, "modsig")) in check_template_modsig()
1139 else if (!strcmp(template->fields[i]->field_id, "d-modsig")) in check_template_modsig()
1685 &(template_desc->fields), in ima_parse_rule()
Dima_crypto.c611 } else if (strcmp(td->fields[i]->field_id, "n") == 0) { in ima_calc_field_array_hash_tfm()
/security/apparmor/
Daudit.c212 struct audit_field *f = &rule->fields[i]; in aa_audit_rule_known()
/security/selinux/ss/
Dservices.c3678 struct audit_field *f = &rule->fields[i]; in selinux_audit_rule_known()
/security/smack/
Dsmack_lsm.c4519 f = &krule->fields[i]; in smack_audit_rule_known()