Home
last modified time | relevance | path

Searched refs:avkey (Results 1 – 3 of 3) sorted by relevance

/external/libsepol/src/
Dassertion.c36 avtab_key_t avkey; in check_assertion_helper() local
41 avkey.source_type = stype + 1; in check_assertion_helper()
42 avkey.target_type = ttype + 1; in check_assertion_helper()
43 avkey.target_class = curperm->class; in check_assertion_helper()
44 avkey.specified = AVTAB_ALLOWED; in check_assertion_helper()
45 for (node = avtab_search_node(te_avtab, &avkey); in check_assertion_helper()
47 node = avtab_search_node_next(node, avkey.specified)) { in check_assertion_helper()
51 for (node = avtab_search_node(te_cond_avtab, &avkey); in check_assertion_helper()
53 node = avtab_search_node_next(node, avkey.specified)) { in check_assertion_helper()
Dservices.c315 avtab_key_t avkey; in context_struct_compute_av() local
342 avkey.target_class = tclass; in context_struct_compute_av()
343 avkey.specified = AVTAB_AV; in context_struct_compute_av()
352 avkey.source_type = i + 1; in context_struct_compute_av()
353 avkey.target_type = j + 1; in context_struct_compute_av()
355 avtab_search_node(&policydb->te_avtab, &avkey); in context_struct_compute_av()
358 avtab_search_node_next(node, avkey.specified)) { in context_struct_compute_av()
369 cond_compute_av(&policydb->te_cond_avtab, &avkey, avd); in context_struct_compute_av()
605 avtab_key_t avkey; in sepol_compute_sid() local
653 avkey.source_type = scontext->type; in sepol_compute_sid()
[all …]
Dexpand.c1601 avtab_key_t avkey; in expand_terule_helper() local
1622 avkey.source_type = stype + 1; in expand_terule_helper()
1623 avkey.target_type = ttype + 1; in expand_terule_helper()
1624 avkey.target_class = cur->class; in expand_terule_helper()
1625 avkey.specified = spec; in expand_terule_helper()
1631 node = avtab_search_node(&p->te_avtab, &avkey); in expand_terule_helper()
1635 node = avtab_search_node(&p->te_cond_avtab, &avkey); in expand_terule_helper()
1658 p->p_type_val_to_name[avkey.source_type - in expand_terule_helper()
1660 p->p_type_val_to_name[avkey.target_type - in expand_terule_helper()
1662 p->p_class_val_to_name[avkey.target_class - in expand_terule_helper()
[all …]