Searched refs:bool_ids (Results 1 – 5 of 5) sorted by relevance
/third_party/selinux/libsepol/src/ |
D | conditional.c | 89 if (!bool_present(a->bool_ids[i], b->bool_ids, x)) in same_bools() 161 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() 392 if (!bool_present(e->bool, cn->bool_ids, cn->nbools)) { in cond_normalize_expr() 395 cn->bool_ids[cn->nbools++] = e->bool; in cond_normalize_expr() 410 p->bool_val_to_struct[cn->bool_ids[i] - 1]->state; in cond_normalize_expr() 418 p->bool_val_to_struct[cn->bool_ids[j] - in cond_normalize_expr() 436 p->bool_val_to_struct[cn->bool_ids[i] - 1]->state = in cond_normalize_expr()
|
D | policydb_validate.c | 452 static int validate_bool_id_array(sepol_handle_t *handle, uint32_t bool_ids[], unsigned int nbools,… in validate_bool_id_array() argument 460 if (validate_value(bool_ids[i], bool)) in validate_bool_id_array() 482 if (validate_bool_id_array(handle, cond->bool_ids, cond->nbools, &flavors[SYM_BOOLS])) in validate_cond_list()
|
D | link.c | 1575 module->map[SYM_BOOLS][cur->bool_ids[i] - 1]; in copy_cond_list() 1577 new_node->bool_ids[i] = remapped_id; in copy_cond_list()
|
D | expand.c | 2009 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
|