Home
last modified time | relevance | path

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

/external/selinux/libsepol/cil/src/
Dcil_binary.c1391 struct cil_neverallow_rule *curr_rule = curr_item->data; in __cil_check_neverallows() local
1392 …enum cil_flavor nv_src_flavor = ((struct cil_tree_node*)curr_rule->src->nodes->head->data)->flavor; in __cil_check_neverallows()
1393 …enum cil_flavor nv_tgt_flavor = ((struct cil_tree_node*)curr_rule->tgt->nodes->head->data)->flavor; in __cil_check_neverallows()
1394 if ((curr_rule->perms & perms) && (class == curr_rule->class)) { in __cil_check_neverallows()
1395 int src_match = __cil_is_type_match(al_src_flavor, src, nv_src_flavor, curr_rule->src); in __cil_check_neverallows()
1397 int tgt_match = __cil_is_type_match(al_tgt_flavor, tgt, nv_tgt_flavor, curr_rule->tgt); in __cil_check_neverallows()