Searched refs:fields (Results 1 – 11 of 11) sorted by relevance
/security/integrity/ima/ |
D | ima_template.c | 73 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()
|
D | ima_template_lib.c | 182 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()
|
D | ima_template_lib.h | 31 int maxfields, struct ima_field_data *fields, int *curfields,
|
D | ima.h | 90 const struct ima_template_field **fields; member 151 const struct ima_template_field ***fields,
|
D | ima_fs.c | 179 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()
|
D | ima_api.c | 56 template_desc->fields[i]; in ima_alloc_init_template()
|
D | ima_policy.c | 870 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()
|
D | ima_crypto.c | 496 } else if (strcmp(td->fields[i]->field_id, "n") == 0) { in ima_calc_field_array_hash_tfm()
|
/security/apparmor/ |
D | audit.c | 213 struct audit_field *f = &rule->fields[i]; in aa_audit_rule_known()
|
/security/selinux/ss/ |
D | services.c | 3436 struct audit_field *f = &rule->fields[i]; in selinux_audit_rule_known()
|
/security/smack/ |
D | smack_lsm.c | 4386 f = &krule->fields[i]; in smack_audit_rule_known()
|