Home
last modified time | relevance | path

Searched refs:te_cond_avtab (Results 1 – 10 of 10) sorted by relevance

/third_party/selinux/libsepol/src/
Dconditional.c457 if (avtab_init(&p->te_cond_avtab)) in cond_policydb_init()
516 avtab_destroy(&p->te_cond_avtab); in cond_policydb_destroy()
648 node_ptr = avtab_search_node(&p->te_cond_avtab, k); in cond_insertf()
668 if (avtab_search(&p->te_cond_avtab, k)) { in cond_insertf()
675 node_ptr = avtab_insert_nonunique(&p->te_cond_avtab, k, d); in cond_insertf()
720 rc = avtab_read_item(fp, p->policyvers, &p->te_cond_avtab, in cond_read_av_list()
833 rc = avtab_alloc(&p->te_cond_avtab, p->te_avtab.nel); in cond_read_list()
Dassertion.c309 args.avtab = &p->te_cond_avtab; in report_assertion_failures()
310 rc = avtab_map(&p->te_cond_avtab, report_assertion_avtab_matches, &args); in report_assertion_failures()
531 args.avtab = &p->te_cond_avtab; in check_assertion()
532 rc = avtab_map(&p->te_cond_avtab, check_assertion_avtab_match, &args); in check_assertion()
Doptimize.c375 avtab_t *tab = &p->te_cond_avtab; in optimize_cond_avtab()
Dexpand.c1740 node = avtab_search_node(&p->te_cond_avtab, &avkey); in expand_terule_helper()
2095 (state->out, cn->avtrue_list, &state->out->te_cond_avtab, in cond_node_copy()
2100 (state->out, cn->avfalse_list, &state->out->te_cond_avtab, in cond_node_copy()
2753 if (avtab_alloc(&state->out->te_cond_avtab, MAX_AVTAB_SIZE)) { in copy_and_expand_avrule_block()
Dservices.c967 cond_compute_av(&policydb->te_cond_avtab, &avkey, avd); in context_struct_compute_av()
1414 node = avtab_search_node(&policydb->te_cond_avtab, &avkey); in sepol_compute_sid()
Dpolicydb.c1241 p->p_classes.nprim, p->te_avtab.nel, p->te_cond_avtab.nel); in policydb_index_others()
/third_party/selinux/checkpolicy/test/
Ddispol.c463 display_avtab(&policydb.te_cond_avtab, in main()
467 display_avtab(&policydb.te_cond_avtab, RENDER_ENABLED, in main()
471 display_avtab(&policydb.te_cond_avtab, RENDER_DISABLED, in main()
/third_party/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h572 avtab_t te_cond_avtab; member
/third_party/selinux/libsepol/cil/src/
Dcil_binary.c1024 existing = avtab_search_node(&pdb->te_cond_avtab, &avtab_key); in __cil_insert_type_rule()
1059 …rc = __cil_cond_insert_rule(&pdb->te_cond_avtab, &avtab_key, &avtab_datum, cond_node, cond_flavor); in __cil_insert_type_rule()
1384 …rc = __cil_cond_insert_rule(&pdb->te_cond_avtab, &avtab_key, &avtab_datum, cond_node, cond_flavor); in __cil_insert_avrule()
4366 rc = avtab_alloc(&pdb->te_cond_avtab, MAX_AVTAB_SIZE); in __cil_policydb_init()
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h54242 struct avtab te_cond_avtab; member