Searched refs:bool_ids (Results 1 – 5 of 5) sorted by relevance
/third_party/selinux/libsepol/src/ |
D | conditional.c | 90 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()
|
D | policydb_validate.c | 939 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()
|
D | link.c | 1535 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()
|
D | expand.c | 2034 cn->bool_ids[i] = state->boolmap[cn->bool_ids[i] - 1]; in cond_node_map_bools()
|
/third_party/selinux/libsepol/include/sepol/policydb/ |
D | conditional.h | 89 uint32_t bool_ids[COND_MAX_BOOLS]; member
|