Home
last modified time | relevance | path

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

/external/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()
888 if ((uint16_t) (AVTAB_ALLOWED | AVTAB_ENABLED) == in cond_compute_av()
889 (node->key.specified & (AVTAB_ALLOWED | AVTAB_ENABLED))) in cond_compute_av()
891 if ((uint16_t) (AVTAB_AUDITDENY | AVTAB_ENABLED) == in cond_compute_av()
892 (node->key.specified & (AVTAB_AUDITDENY | AVTAB_ENABLED))) in cond_compute_av()
899 if ((uint16_t) (AVTAB_AUDITALLOW | AVTAB_ENABLED) == in cond_compute_av()
900 (node->key.specified & (AVTAB_AUDITALLOW | AVTAB_ENABLED))) in cond_compute_av()
Davtab.c86 key->specified & ~(AVTAB_ENABLED | AVTAB_ENABLED_OLD); in avtab_insert()
127 key->specified & ~(AVTAB_ENABLED | AVTAB_ENABLED_OLD); in avtab_insert_nonunique()
159 key->specified & ~(AVTAB_ENABLED | AVTAB_ENABLED_OLD); in avtab_search()
194 key->specified & ~(AVTAB_ENABLED | AVTAB_ENABLED_OLD); in avtab_search_node()
227 specified &= ~(AVTAB_ENABLED | AVTAB_ENABLED_OLD); in avtab_search_node_next()
424 enabled = (val & AVTAB_ENABLED_OLD) ? AVTAB_ENABLED : 0; in avtab_read_item()
Dexpand.c1681 node->key.specified |= AVTAB_ENABLED; in expand_terule_helper()
1683 node->key.specified &= ~AVTAB_ENABLED; in expand_terule_helper()
1743 node->key.specified |= AVTAB_ENABLED; in expand_avrule_helper()
1745 node->key.specified &= ~AVTAB_ENABLED; in expand_avrule_helper()
3054 if ((k->specified & AVTAB_ENABLED) != in expand_avtab_insert()
3055 (node->key.specified & AVTAB_ENABLED)) { in expand_avtab_insert()
3065 switch (k->specified & ~AVTAB_ENABLED) { in expand_avtab_insert()
3179 (k->specified & AVTAB_ENABLED) != in expand_cond_insert()
3180 (node->key.specified & AVTAB_ENABLED)) { in expand_cond_insert()
3200 switch (k->specified & ~AVTAB_ENABLED) { in expand_cond_insert()
Dwrite.c128 val = cur->key.specified & ~AVTAB_ENABLED; in avtab_write_item()
129 if (cur->key.specified & AVTAB_ENABLED) in avtab_write_item()
145 val |= (node->key.specified & ~AVTAB_ENABLED); in avtab_write_item()
147 if (node->key.specified & AVTAB_ENABLED) in avtab_write_item()
Dservices.c664 if (node->key.specified & AVTAB_ENABLED) { in sepol_compute_sid()
/external/checkpolicy/test/
Ddispol.c95 AVTAB_ENABLED)) in render_av_rule()
99 AVTAB_ENABLED)))) { in render_av_rule()
105 if (key->specified & AVTAB_ENABLED) in render_av_rule()
107 else if (!(key->specified & AVTAB_ENABLED)) in render_av_rule()
/external/libsepol/include/sepol/policydb/
Davtab.h60 #define AVTAB_ENABLED 0x8000 /* reserved for used in cond_avtab */ macro