Searched refs:cond_av_list_t (Results 1 – 13 of 13) sorted by relevance
/third_party/selinux/libsepol/include/sepol/policydb/ |
D | conditional.h | 69 } cond_av_list_t; typedef 82 cond_av_list_t *true_list; 83 cond_av_list_t *false_list; 117 cond_av_list_t * cond_list); 119 extern void cond_av_list_destroy(cond_av_list_t * list);
|
D | expand.h | 75 cond_av_list_t ** cond, cond_av_list_t ** other, 80 extern int expand_cond_av_list(policydb_t * p, cond_av_list_t * l, 81 cond_av_list_t ** newl, avtab_t * expa);
|
/third_party/selinux/libsepol/src/ |
D | conditional.c | 31 static void cond_optimize(cond_av_list_t ** l) in cond_optimize() 33 cond_av_list_t *top, *p, *cur; in cond_optimize() 312 cond_av_list_t *cur; in evaluate_cond_node() 347 cond_av_list_t *tmp; in cond_normalize_expr() 463 void cond_av_list_destroy(cond_av_list_t * list) in cond_av_list_destroy() 465 cond_av_list_t *cur, *next; in cond_av_list_destroy() 614 cond_av_list_t *other; 615 cond_av_list_t *head; 616 cond_av_list_t *tail; 625 cond_av_list_t *other = data->other, *list, *cur; in cond_insertf() [all …]
|
D | optimize.c | 257 static int is_cond_rule_redundant(avtab_ptr_t e1, cond_av_list_t *list, in is_cond_rule_redundant() 323 static void optimize_cond_av_list(cond_av_list_t **cond, cond_av_list_t **del, in optimize_cond_av_list() 326 cond_av_list_t **listp = cond; in optimize_cond_av_list() 327 cond_av_list_t *pcov = NULL; in optimize_cond_av_list() 328 cond_av_list_t **pcov_cur; in optimize_cond_av_list() 337 cond_av_list_t *tmp = *cond; in optimize_cond_av_list() 362 cond_av_list_t *tmp = *cond; in optimize_cond_av_list() 379 cond_av_list_t **avcond, *del = NULL; in optimize_cond_avtab() 414 cond_av_list_t *cond_tmp = *avcond; in optimize_cond_avtab()
|
D | expand.c | 1623 cond_av_list_t ** cond, in find_avtab_node() 1628 cond_av_list_t *nl; in find_avtab_node() 1678 nl = (cond_av_list_t *) malloc(sizeof(cond_av_list_t)); in find_avtab_node() 1683 memset(nl, 0, sizeof(cond_av_list_t)); in find_avtab_node() 1705 uint32_t specified, cond_av_list_t ** cond, in expand_terule_helper() 1706 cond_av_list_t ** other, uint32_t stype, in expand_terule_helper() 1837 cond_av_list_t ** cond, in expand_avrule_helper() 1909 cond_av_list_t ** cond, cond_av_list_t ** other, in expand_rule_helper() 1964 cond_av_list_t ** cond, in convert_and_expand_rule() 1965 cond_av_list_t ** other, int enabled, in convert_and_expand_rule() [all …]
|
D | hierarchy.c | 127 cond_av_list_t *cur, avtab_t *avtab, in bounds_expand_cond_rules() 324 cond_av_list_t *rules, uint32_t child, in bounds_check_cond_rules() 329 cond_av_list_t *cur; in bounds_check_cond_rules()
|
D | write.c | 762 cond_av_list_t * list, struct policy_file *fp) in cond_write_av_list() 765 cond_av_list_t *cur_list, *new_list = NULL; in cond_write_av_list()
|
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() 2031 cond_av_list_t *cond_av; in write_cond_av_list_to_conf()
|
D | policydb_validate.c | 856 static int validate_cond_av_list(sepol_handle_t *handle, const cond_av_list_t *cond_av, const polic… in validate_cond_av_list()
|
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() 2055 cond_av_list_t *cond_av; in write_cond_av_list_to_cil()
|
/third_party/selinux/libsepol/cil/src/ |
D | cil_binary.c | 926 cond_av_list_t *cond_list = NULL; in __cil_cond_insert_rule() 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() 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() 959 cond_av_list_t *cur_av; in cil_cond_av_list_search() 1026 cond_av_list_t *this_list; in __cil_insert_type_rule() 1027 cond_av_list_t *other_list; in __cil_insert_type_rule() 2317 cond_av_list_t tmp_cl; in cil_booleanif_to_policydb() 4277 cond_av_list_t *c; in __cil_set_conditional_state_and_flags()
|
/third_party/selinux/checkpolicy/test/ |
D | dispol.c | 230 cond_av_list_t *av_cur; in display_cond_expressions()
|
D | dismod.c | 576 cond_av_list_t *av_cur;
|