Home
last modified time | relevance | path

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

/security/integrity/ima/
Dima_template.c73 if (!strcmp(ima_template->fields[i]->field_id, "modsig") || in ima_template_has_modsig()
74 !strcmp(ima_template->fields[i]->field_id, "d-modsig")) in ima_template_has_modsig()
182 const struct ima_template_field ***fields, in template_desc_init_fields() argument
220 if (fields && num_fields) { in template_desc_init_fields()
221 *fields = kmalloc_array(i, sizeof(*fields), GFP_KERNEL); in template_desc_init_fields()
222 if (*fields == NULL) in template_desc_init_fields()
225 memcpy(*fields, found_fields, i * sizeof(*fields)); in template_desc_init_fields()
263 &(template->fields), in ima_init_template()
434 &(template_desc->fields), in ima_restore_measurement_list()
Dima_template_lib.c182 int maxfields, struct ima_field_data *fields, int *curfields, in ima_parse_buf() argument
193 fields[i].len = *(u32 *)bufp; in ima_parse_buf()
195 fields[i].len = le32_to_cpu(fields[i].len); in ima_parse_buf()
200 if (bufp > (bufendp - fields[i].len)) in ima_parse_buf()
203 fields[i].data = bufp; in ima_parse_buf()
204 bufp += fields[i].len; in ima_parse_buf()
Dima_template_lib.h31 int maxfields, struct ima_field_data *fields, int *curfields,
Dima.h90 const struct ima_template_field **fields; member
151 const struct ima_template_field ***fields,
Dima_fs.c179 e->template_desc->fields[i]; in ima_measurements_show()
249 e->template_desc->fields[i]->field_show(m, IMA_SHOW_ASCII, in ima_ascii_measurements_show()
Dima_api.c56 template_desc->fields[i]; in ima_alloc_init_template()
Dima_policy.c870 if (!strcmp(template->fields[i]->field_id, "modsig")) in check_template_modsig()
872 else if (!strcmp(template->fields[i]->field_id, "d-modsig")) in check_template_modsig()
1210 &(template_desc->fields), in ima_parse_rule()
Dima_crypto.c496 } else if (strcmp(td->fields[i]->field_id, "n") == 0) { in ima_calc_field_array_hash_tfm()
/security/apparmor/
Daudit.c213 struct audit_field *f = &rule->fields[i]; in aa_audit_rule_known()
/security/selinux/ss/
Dservices.c3436 struct audit_field *f = &rule->fields[i]; in selinux_audit_rule_known()
/security/smack/
Dsmack_lsm.c4386 f = &krule->fields[i]; in smack_audit_rule_known()