Searched refs:SYM_BOOLS (Results 1 – 10 of 10) sorted by relevance
/third_party/selinux/libsepol/tests/ |
D | test-linker-cond-map.c | 73 CU_ASSERT(strcmp(p->sym_val_to_name[SYM_BOOLS][expr->bool - 1], bools[i].bool) == 0); in test_cond_expr_mapping() 100 test_sym_presence(base, "g_b_bool_1", SYM_BOOLS, SCOPE_DECL, decls, 1); in base_cond_tests() 110 test_sym_presence(base, "o1_b_bool_1", SYM_BOOLS, SCOPE_DECL, decls, 1); in base_cond_tests() 128 test_sym_presence(base, "g_m1_bool_1", SYM_BOOLS, SCOPE_DECL, decls, 1); in module_cond_tests() 138 test_sym_presence(base, "o1_m1_bool_1", SYM_BOOLS, SCOPE_DECL, decls, 1); in module_cond_tests() 148 test_sym_presence(base, "g_m2_bool_1", SYM_BOOLS, SCOPE_DECL, decls, 1); in module_cond_tests() 149 test_sym_presence(base, "g_m2_bool_2", SYM_BOOLS, SCOPE_DECL, decls, 1); in module_cond_tests()
|
D | test-common.c | 118 CU_ASSERT(p->sym_val_to_name[SYM_BOOLS][d->s.value - 1] == (char *)key); in cond_test_index()
|
/third_party/selinux/libsepol/include/sepol/policydb/ |
D | policydb.h | 398 #define SYM_BOOLS 5 macro 436 #define p_bools_scope scope[SYM_BOOLS] 530 #define p_bools symtab[SYM_BOOLS] 541 #define p_bool_val_to_name sym_val_to_name[SYM_BOOLS]
|
/third_party/selinux/libsepol/src/ |
D | policydb_validate.c | 71 if (validate_init(&flavors[SYM_BOOLS], p->p_bool_val_to_name, p->p_bools.nprim)) in validate_array_init() 651 if (validate_value(boolean->s.value, &flavors[SYM_BOOLS])) in validate_bool_datum() 715 if (bool_xnor(p->bool_val_to_struct[i], ebitmap_get_bit(&flavors[SYM_BOOLS].gaps, i))) in validate_datum_array_gaps() 1005 if (validate_cond_expr(handle, cond->expr, &flavors[SYM_BOOLS])) in validate_cond_list() 1015 if (validate_bool_id_array(handle, cond->bool_ids, cond->nbools, &flavors[SYM_BOOLS])) in validate_cond_list() 1263 if (validate_ebitmap(&scope_index->p_bools_scope, &flavors[SYM_BOOLS])) in validate_scope_index()
|
D | link.c | 660 state->cur->map[SYM_BOOLS][booldatum->s.value - 1] = base_bool->s.value; in bool_copy_callback() 1527 assert(module->map[SYM_BOOLS][cur_expr->bool - 1] != 0); in copy_cond_list() 1529 module->map[SYM_BOOLS][cur_expr->bool - 1]; in copy_cond_list() 1535 module->map[SYM_BOOLS][cur->bool_ids[i] - 1]; in copy_cond_list()
|
D | expand.c | 1116 if (!is_id_enabled(id, state->base, SYM_BOOLS)) { in bool_copy_callback()
|
/third_party/selinux/checkpolicy/ |
D | module_compiler.c | 60 [SYM_BOOLS] = "bool", 1011 require_symbol(SYM_BOOLS, id, booldatum, in require_bool_tunable() 1016 print_error_msg(retval, SYM_BOOLS); in require_bool_tunable()
|
D | policy_define.c | 1774 ret = declare_symbol(SYM_BOOLS, id, datum, &value, &value); in define_bool_tunable() 4111 if (!is_id_in_scope(SYM_BOOLS, id)) { in define_cond_expr()
|
/third_party/selinux/checkpolicy/test/ |
D | dismod.c | 389 display_id(p, fp, SYM_BOOLS, i, ""); in display_bools()
|
/third_party/selinux/libsepol/cil/src/ |
D | cil_binary.c | 773 rc = symtab_insert(pdb, SYM_BOOLS, key, sepol_bool, SCOPE_DECL, 0, &value); in cil_bool_to_policydb()
|