Searched refs:fields (Results 1 – 11 of 11) sorted by relevance
/security/integrity/ima/ |
D | ima_template.c | 93 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()
|
D | ima_template_lib.c | 220 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()
|
D | ima_template_lib.h | 33 int maxfields, struct ima_field_data *fields, int *curfields,
|
D | ima_fs.c | 178 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()
|
D | ima.h | 95 const struct ima_template_field **fields; member 155 const struct ima_template_field ***fields,
|
D | ima_api.c | 67 template_desc->fields[i]; in ima_alloc_init_template()
|
D | ima_policy.c | 1137 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()
|
D | ima_crypto.c | 611 } else if (strcmp(td->fields[i]->field_id, "n") == 0) { in ima_calc_field_array_hash_tfm()
|
/security/apparmor/ |
D | audit.c | 212 struct audit_field *f = &rule->fields[i]; in aa_audit_rule_known()
|
/security/selinux/ss/ |
D | services.c | 3678 struct audit_field *f = &rule->fields[i]; in selinux_audit_rule_known()
|
/security/smack/ |
D | smack_lsm.c | 4519 f = &krule->fields[i]; in smack_audit_rule_known()
|