Searched refs:cond_av_list_t (Results 1 – 12 of 12) sorted by relevance
/external/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);
|
/external/selinux/libsepol/src/ |
D | optimize.c | 179 static int is_cond_rule_redundant(avtab_ptr_t e1, cond_av_list_t *list, in is_cond_rule_redundant() 245 static void optimize_cond_av_list(cond_av_list_t **cond, cond_av_list_t **del, in optimize_cond_av_list() 248 cond_av_list_t **listp = cond; in optimize_cond_av_list() 249 cond_av_list_t *pcov = NULL; in optimize_cond_av_list() 250 cond_av_list_t **pcov_cur; in optimize_cond_av_list() 259 cond_av_list_t *tmp = *cond; in optimize_cond_av_list() 284 cond_av_list_t *tmp = *cond; in optimize_cond_av_list() 301 cond_av_list_t **avcond, *del = NULL; in optimize_cond_avtab() 336 cond_av_list_t *cond_tmp = *avcond; in optimize_cond_avtab()
|
D | conditional.c | 30 static void cond_optimize(cond_av_list_t ** l) in cond_optimize() 32 cond_av_list_t *top, *p, *cur; in cond_optimize() 311 cond_av_list_t *cur; in evaluate_cond_node() 347 cond_av_list_t *tmp; in cond_normalize_expr() 466 void cond_av_list_destroy(cond_av_list_t * list) in cond_av_list_destroy() 468 cond_av_list_t *cur, *next; in cond_av_list_destroy() 617 cond_av_list_t *other; 618 cond_av_list_t *head; 619 cond_av_list_t *tail; 628 cond_av_list_t *other = data->other, *list, *cur; in cond_insertf() [all …]
|
D | expand.c | 1599 cond_av_list_t ** cond, in find_avtab_node() 1604 cond_av_list_t *nl; in find_avtab_node() 1649 nl = (cond_av_list_t *) malloc(sizeof(cond_av_list_t)); in find_avtab_node() 1654 memset(nl, 0, sizeof(cond_av_list_t)); in find_avtab_node() 1676 uint32_t specified, cond_av_list_t ** cond, in expand_terule_helper() 1677 cond_av_list_t ** other, uint32_t stype, in expand_terule_helper() 1808 cond_av_list_t ** cond, in expand_avrule_helper() 1880 cond_av_list_t ** cond, cond_av_list_t ** other, in expand_rule_helper() 1935 cond_av_list_t ** cond, in convert_and_expand_rule() 1936 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 | 702 cond_av_list_t * list, struct policy_file *fp) in cond_write_av_list() 705 cond_av_list_t *cur_list, *new_list = NULL; in cond_write_av_list()
|
D | kernel_to_conf.c | 1966 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() 1968 cond_av_list_t *cond_av; in write_cond_av_list_to_conf()
|
D | kernel_to_cil.c | 1986 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() 1988 cond_av_list_t *cond_av; in write_cond_av_list_to_cil()
|
/external/selinux/libsepol/cil/src/ |
D | cil_binary.c | 930 cond_av_list_t *cond_list = NULL; in __cil_cond_insert_rule() 944 cond_list = cil_malloc(sizeof(cond_av_list_t)); in __cil_cond_insert_rule() 945 memset(cond_list, 0, sizeof(cond_av_list_t)); in __cil_cond_insert_rule() 961 avtab_datum_t *cil_cond_av_list_search(avtab_key_t *key, cond_av_list_t *cond_list) in cil_cond_av_list_search() 963 cond_av_list_t *cur_av; in cil_cond_av_list_search() 1030 cond_av_list_t *this_list; in __cil_insert_type_rule() 1031 cond_av_list_t *other_list; in __cil_insert_type_rule() 2205 cond_av_list_t tmp_cl; in cil_booleanif_to_policydb() 4058 cond_av_list_t *c; in __cil_set_conditional_state_and_flags()
|
/external/selinux/checkpolicy/test/ |
D | dispol.c | 230 cond_av_list_t *av_cur; in display_cond_expressions()
|
D | dismod.c | 577 cond_av_list_t *av_cur;
|