/third_party/selinux/libsepol/src/ |
D | avrule_block.c | 99 cond_list_destroy(x->cond_list); in avrule_decl_destroy() 143 result = cond_node_find(p, cond, decl->cond_list, &was_created); in get_decl_cond_list() 145 result->next = decl->cond_list; in get_decl_cond_list() 146 decl->cond_list = result; in get_decl_cond_list()
|
D | conditional.c | 199 result->next = p->cond_list; in cond_node_search() 200 p->cond_list = result; in cond_node_search() 445 for (cur = p->cond_list; cur != NULL; cur = cur->next) { in evaluate_conds() 456 p->cond_list = NULL; in cond_policydb_init() 517 cond_list_destroy(p->cond_list); in cond_policydb_destroy() 890 cond_av_list_t * cond_list) in cond_av_list_search() argument 895 for (cur_av = cond_list; cur_av != NULL; cur_av = cur_av->next) { in cond_av_list_search()
|
D | hierarchy.c | 168 cond_list_t *cond_list; member 206 for (cur = p->cond_list; cur; cur = cur->next) { in bounds_expand_parent_rules() 212 ci->cond_list = cur; in bounds_expand_parent_rules() 392 cond_list_t *node = cur->cond_list; in bounds_check_child_rules()
|
D | optimize.c | 382 cond = &p->cond_list; in optimize_cond_avtab()
|
D | kernel_to_conf.c | 2029 static int write_cond_av_list_to_conf(FILE *out, struct policydb *pdb, cond_av_list_t *cond_list, i… in write_cond_av_list_to_conf() argument 2048 for (cond_av = cond_list; cond_av != NULL; cond_av = cond_av->next) { in write_cond_av_list_to_conf() 2101 for (cond = pdb->cond_list; cond != NULL; cond = cond->next) { in write_cond_nodes_to_conf() 2116 for (cond = pdb->cond_list; cond != NULL; cond = cond->next) { in write_cond_nodes_to_conf()
|
D | policydb_validate.c | 1324 if (validate_cond_list(handle, decl->cond_list, p, flavors)) in validate_avrule_blocks() 1506 if (validate_cond_list(handle, p->cond_list, p, flavors)) in policydb_validate()
|
D | kernel_to_cil.c | 2053 static int write_cond_av_list_to_cil(FILE *out, struct policydb *pdb, cond_av_list_t *cond_list, in… in write_cond_av_list_to_cil() argument 2072 for (cond_av = cond_list; cond_av != NULL; cond_av = cond_av->next) { in write_cond_av_list_to_cil() 2124 for (cond = pdb->cond_list; cond != NULL; cond = cond->next) { in write_cond_nodes_to_cil() 2135 for (cond = pdb->cond_list; cond != NULL; cond = cond->next) { in write_cond_nodes_to_cil()
|
D | link.c | 1677 || copy_cond_list(src_decl->cond_list, &dest_decl->cond_list, in copy_avrule_decl() 2218 cond_list_t *cond = decl->cond_list; in cond_normalize()
|
D | expand.c | 2084 new_cond = cond_node_search(state->out, state->out->cond_list, tmp); in cond_node_copy() 2806 if (cond_node_copy(state, decl->cond_list)) in copy_and_expand_avrule_block() 2889 for (cur_node = decl->cond_list; cur_node != NULL; in discard_tunables() 3164 cond_optimize_lists(state.out->cond_list); in expand_module()
|
D | module_to_cil.c | 1392 static int cond_list_to_cil(int indent, struct policydb *pdb, struct cond_node *cond_list, struct l… in cond_list_to_cil() argument 1397 for (cond = cond_list; cond != NULL; cond = cond->next) { in cond_list_to_cil() 3704 rc = cond_list_to_cil(indent, pdb, decl->cond_list, type_attr_list); in block_to_cil()
|
D | write.c | 2056 if (cond_write_list(p, decl->cond_list, fp) == -1 || in avrule_decl_write() 2365 if (cond_write_list(p, p->cond_list, fp)) in policydb_write()
|
D | policydb.c | 3992 if (cond_read_list(p, &decl->cond_list, fp) == -1 || in avrule_decl_read() 4466 if (cond_read_list(p, &p->cond_list, fp)) in policydb_read()
|
/third_party/selinux/libsepol/tests/ |
D | test-linker-cond-map.c | 63 CU_ASSERT_FATAL(d->cond_list != NULL); in test_cond_expr_mapping() 64 CU_ASSERT_FATAL(d->cond_list->expr != NULL); in test_cond_expr_mapping() 66 expr = d->cond_list->expr; in test_cond_expr_mapping()
|
D | test-cond.c | 74 a = base_expanded.cond_list; in test_cond_expr_equal() 76 b = base_expanded.cond_list; in test_cond_expr_equal()
|
/third_party/selinux/libsepol/include/sepol/policydb/ |
D | conditional.h | 117 cond_av_list_t * cond_list);
|
D | policydb.h | 458 cond_list_t *cond_list; member 574 cond_list_t *cond_list; member
|
/third_party/selinux/libsepol/cil/src/ |
D | cil_binary.c | 926 cond_av_list_t *cond_list = NULL; in __cil_cond_insert_rule() local 940 cond_list = cil_malloc(sizeof(cond_av_list_t)); in __cil_cond_insert_rule() 941 memset(cond_list, 0, sizeof(cond_av_list_t)); in __cil_cond_insert_rule() 943 cond_list->node = avtab_ptr; in __cil_cond_insert_rule() 946 cond_list->next = cond_node->true_list; in __cil_cond_insert_rule() 947 cond_node->true_list = cond_list; in __cil_cond_insert_rule() 949 cond_list->next = cond_node->false_list; in __cil_cond_insert_rule() 950 cond_node->false_list = cond_list; in __cil_cond_insert_rule() 957 static avtab_datum_t *cil_cond_av_list_search(avtab_key_t *key, cond_av_list_t *cond_list) in cil_cond_av_list_search() argument 961 for (cur_av = cond_list; cur_av != NULL; cur_av = cur_av->next) { in cil_cond_av_list_search() [all …]
|
/third_party/selinux/checkpolicy/test/ |
D | dismod.c | 577 for (cur = p->cond_list; cur != NULL; cur = cur->next) { 621 cond_list_t *cond = decl->cond_list; in display_avdecl()
|
D | dispol.c | 232 for (cur = p->cond_list; cur != NULL; cur = cur->next) { in display_cond_expressions()
|
/third_party/selinux/checkpolicy/ |
D | module_compiler.c | 26 cond_list_t *cond_list; member 1468 s->u.cond_list = va_arg(ap, cond_list_t *); in push_stack()
|
D | checkpolicy.c | 347 for (cur = policydbp->cond_list; cur != NULL; cur = cur->next) { in display_cond_expressions()
|
/third_party/libbpf/.github/actions/build-selftests/ |
D | vmlinux.h | 54243 struct cond_node *cond_list; member
|