Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/src/
Dservices.c916 avtab_key_t avkey; in context_struct_compute_av() local
944 avkey.target_class = tclass; in context_struct_compute_av()
945 avkey.specified = AVTAB_AV; in context_struct_compute_av()
950 avkey.source_type = i + 1; in context_struct_compute_av()
951 avkey.target_type = j + 1; in context_struct_compute_av()
953 avtab_search_node(&policydb->te_avtab, &avkey); in context_struct_compute_av()
956 avtab_search_node_next(node, avkey.specified)) { in context_struct_compute_av()
967 cond_compute_av(&policydb->te_cond_avtab, &avkey, avd); in context_struct_compute_av()
1337 avtab_key_t avkey; in sepol_compute_sid() local
1406 avkey.source_type = scontext->type; in sepol_compute_sid()
[all …]
Dexpand.c1710 avtab_key_t avkey; in expand_terule_helper() local
1722 avkey.specified = avrule_to_avtab_spec(specified); in expand_terule_helper()
1723 avkey.source_type = stype + 1; in expand_terule_helper()
1724 avkey.target_type = ttype + 1; in expand_terule_helper()
1730 avkey.target_class = cur->tclass; in expand_terule_helper()
1736 node = avtab_search_node(&p->te_avtab, &avkey); in expand_terule_helper()
1740 node = avtab_search_node(&p->te_cond_avtab, &avkey); in expand_terule_helper()
1763 p->p_type_val_to_name[avkey.source_type - in expand_terule_helper()
1765 p->p_type_val_to_name[avkey.target_type - in expand_terule_helper()
1767 p->p_class_val_to_name[avkey.target_class - in expand_terule_helper()
[all …]