Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Dconditional.c322 cur->node->key.specified &= ~AVTAB_ENABLED; in evaluate_cond_node()
324 cur->node->key.specified |= AVTAB_ENABLED; in evaluate_cond_node()
331 cur->node->key.specified &= ~AVTAB_ENABLED; in evaluate_cond_node()
333 cur->node->key.specified |= AVTAB_ENABLED; in evaluate_cond_node()
871 if ((uint16_t) (AVTAB_ALLOWED | AVTAB_ENABLED) == in cond_compute_av()
872 (node->key.specified & (AVTAB_ALLOWED | AVTAB_ENABLED))) in cond_compute_av()
874 if ((uint16_t) (AVTAB_AUDITDENY | AVTAB_ENABLED) == in cond_compute_av()
875 (node->key.specified & (AVTAB_AUDITDENY | AVTAB_ENABLED))) in cond_compute_av()
882 if ((uint16_t) (AVTAB_AUDITALLOW | AVTAB_ENABLED) == in cond_compute_av()
883 (node->key.specified & (AVTAB_AUDITALLOW | AVTAB_ENABLED))) in cond_compute_av()
Davtab.c141 key->specified & ~(AVTAB_ENABLED | AVTAB_ENABLED_OLD); in avtab_insert()
186 key->specified & ~(AVTAB_ENABLED | AVTAB_ENABLED_OLD); in avtab_insert_nonunique()
218 key->specified & ~(AVTAB_ENABLED | AVTAB_ENABLED_OLD); in avtab_search()
253 key->specified & ~(AVTAB_ENABLED | AVTAB_ENABLED_OLD); in avtab_search_node()
286 specified &= ~(AVTAB_ENABLED | AVTAB_ENABLED_OLD); in avtab_search_node_next()
492 enabled = (val & AVTAB_ENABLED_OLD) ? AVTAB_ENABLED : 0; in avtab_read_item()
Dexpand.c1786 node->key.specified |= AVTAB_ENABLED; in expand_terule_helper()
1788 node->key.specified &= ~AVTAB_ENABLED; in expand_terule_helper()
1864 node->key.specified |= AVTAB_ENABLED; in expand_avrule_helper()
1866 node->key.specified &= ~AVTAB_ENABLED; in expand_avrule_helper()
3242 if (!node || ((k->specified & AVTAB_ENABLED) != in expand_avtab_insert()
3243 (node->key.specified & AVTAB_ENABLED))) { in expand_avtab_insert()
3254 switch (k->specified & ~AVTAB_ENABLED) { in expand_avtab_insert()
3366 (k->specified & AVTAB_ENABLED) != in expand_cond_insert()
3367 (node->key.specified & AVTAB_ENABLED)) { in expand_cond_insert()
3387 switch (k->specified & ~AVTAB_ENABLED) { in expand_cond_insert()
Dwrite.c135 val = cur->key.specified & ~AVTAB_ENABLED; in avtab_write_item()
136 if (cur->key.specified & AVTAB_ENABLED) in avtab_write_item()
152 val |= (node->key.specified & ~AVTAB_ENABLED); in avtab_write_item()
154 if (node->key.specified & AVTAB_ENABLED) in avtab_write_item()
Dservices.c1417 if (node->key.specified & AVTAB_ENABLED) { in sepol_compute_sid()
/external/selinux/checkpolicy/test/
Ddispol.c94 AVTAB_ENABLED)) in render_av_rule()
98 AVTAB_ENABLED)))) { in render_av_rule()
104 if (key->specified & AVTAB_ENABLED) in render_av_rule()
106 else if (!(key->specified & AVTAB_ENABLED)) in render_av_rule()
/external/selinux/libsepol/include/sepol/policydb/
Davtab.h69 #define AVTAB_ENABLED 0x8000 /* reserved for used in cond_avtab */ macro
/external/selinux/libsepol/cil/src/
Dcil_binary.c4289 c->node->key.specified &= ~AVTAB_ENABLED; in __cil_set_conditional_state_and_flags()
4291 c->node->key.specified |= AVTAB_ENABLED; in __cil_set_conditional_state_and_flags()
4297 c->node->key.specified &= ~AVTAB_ENABLED; in __cil_set_conditional_state_and_flags()
4299 c->node->key.specified |= AVTAB_ENABLED; in __cil_set_conditional_state_and_flags()