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.c316 avtab_key_t avkey; in context_struct_compute_av() local
343 avkey.target_class = tclass; in context_struct_compute_av()
344 avkey.specified = AVTAB_AV; in context_struct_compute_av()
353 avkey.source_type = i + 1; in context_struct_compute_av()
354 avkey.target_type = j + 1; in context_struct_compute_av()
356 avtab_search_node(&policydb->te_avtab, &avkey); in context_struct_compute_av()
359 avtab_search_node_next(node, avkey.specified)) { in context_struct_compute_av()
370 cond_compute_av(&policydb->te_cond_avtab, &avkey, avd); in context_struct_compute_av()
606 avtab_key_t avkey; in sepol_compute_sid() local
654 avkey.source_type = scontext->type; in sepol_compute_sid()
[all …]
Dexpand.c1637 avtab_key_t avkey; in expand_terule_helper() local
1658 avkey.source_type = stype + 1; in expand_terule_helper()
1659 avkey.target_type = ttype + 1; in expand_terule_helper()
1660 avkey.target_class = cur->class; in expand_terule_helper()
1661 avkey.specified = spec; in expand_terule_helper()
1667 node = avtab_search_node(&p->te_avtab, &avkey); in expand_terule_helper()
1671 node = avtab_search_node(&p->te_cond_avtab, &avkey); in expand_terule_helper()
1694 p->p_type_val_to_name[avkey.source_type - in expand_terule_helper()
1696 p->p_type_val_to_name[avkey.target_type - in expand_terule_helper()
1698 p->p_class_val_to_name[avkey.target_class - in expand_terule_helper()
[all …]