Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/src/
Dconditional.c90 if (!bool_present(a->bool_ids[i], b->bool_ids, x)) in same_bools()
162 new_node->bool_ids[i] = node->bool_ids[i]; in cond_node_create()
355 memset(cn->bool_ids, 0, sizeof(cn->bool_ids)); in cond_normalize_expr()
391 if (!bool_present(e->bool, cn->bool_ids, cn->nbools)) { in cond_normalize_expr()
394 cn->bool_ids[cn->nbools++] = e->bool; in cond_normalize_expr()
409 p->bool_val_to_struct[cn->bool_ids[i] - 1]->state; in cond_normalize_expr()
417 p->bool_val_to_struct[cn->bool_ids[j] - in cond_normalize_expr()
434 p->bool_val_to_struct[cn->bool_ids[i] - 1]->state = in cond_normalize_expr()
Dpolicydb_validate.c939 static int validate_bool_id_array(sepol_handle_t *handle, const uint32_t bool_ids[], unsigned int n… in validate_bool_id_array() argument
947 if (validate_value(bool_ids[i], boolean)) in validate_bool_id_array()
1015 if (validate_bool_id_array(handle, cond->bool_ids, cond->nbools, &flavors[SYM_BOOLS])) in validate_cond_list()
Dlink.c1535 module->map[SYM_BOOLS][cur->bool_ids[i] - 1]; in copy_cond_list()
1537 new_node->bool_ids[i] = remapped_id; in copy_cond_list()
Dexpand.c2034 cn->bool_ids[i] = state->boolmap[cn->bool_ids[i] - 1]; in cond_node_map_bools()
/third_party/selinux/libsepol/include/sepol/policydb/
Dconditional.h89 uint32_t bool_ids[COND_MAX_BOOLS]; member