Home
last modified time | relevance | path

Searched refs:cond_av_list_t (Results 1 – 13 of 13) sorted by relevance

/third_party/selinux/libsepol/include/sepol/policydb/
Dconditional.h69 } 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);
Dexpand.h75 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/
Doptimize.c248 static int is_cond_rule_redundant(avtab_ptr_t e1, cond_av_list_t *list, in is_cond_rule_redundant()
314 static void optimize_cond_av_list(cond_av_list_t **cond, cond_av_list_t **del, in optimize_cond_av_list()
317 cond_av_list_t **listp = cond; in optimize_cond_av_list()
318 cond_av_list_t *pcov = NULL; in optimize_cond_av_list()
319 cond_av_list_t **pcov_cur; in optimize_cond_av_list()
328 cond_av_list_t *tmp = *cond; in optimize_cond_av_list()
353 cond_av_list_t *tmp = *cond; in optimize_cond_av_list()
370 cond_av_list_t **avcond, *del = NULL; in optimize_cond_avtab()
405 cond_av_list_t *cond_tmp = *avcond; in optimize_cond_avtab()
Dconditional.c30 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()
465 void cond_av_list_destroy(cond_av_list_t * list) in cond_av_list_destroy()
467 cond_av_list_t *cur, *next; in cond_av_list_destroy()
616 cond_av_list_t *other;
617 cond_av_list_t *head;
618 cond_av_list_t *tail;
627 cond_av_list_t *other = data->other, *list, *cur; in cond_insertf()
[all …]
Dexpand.c1598 cond_av_list_t ** cond, in find_avtab_node()
1603 cond_av_list_t *nl; in find_avtab_node()
1653 nl = (cond_av_list_t *) malloc(sizeof(cond_av_list_t)); in find_avtab_node()
1658 memset(nl, 0, sizeof(cond_av_list_t)); in find_avtab_node()
1680 uint32_t specified, cond_av_list_t ** cond, in expand_terule_helper()
1681 cond_av_list_t ** other, uint32_t stype, in expand_terule_helper()
1812 cond_av_list_t ** cond, in expand_avrule_helper()
1884 cond_av_list_t ** cond, cond_av_list_t ** other, in expand_rule_helper()
1939 cond_av_list_t ** cond, in convert_and_expand_rule()
1940 cond_av_list_t ** other, int enabled, in convert_and_expand_rule()
[all …]
Dhierarchy.c127 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()
Dpolicydb_validate.c413 static int validate_cond_av_list(sepol_handle_t *handle, cond_av_list_t *cond_av, validate_t flavor… in validate_cond_av_list()
Dwrite.c762 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()
Dkernel_to_cil.c2027 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()
2029 cond_av_list_t *cond_av; in write_cond_av_list_to_cil()
Dkernel_to_conf.c2008 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()
2010 cond_av_list_t *cond_av; in write_cond_av_list_to_conf()
/third_party/selinux/libsepol/cil/src/
Dcil_binary.c926 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 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()
2235 cond_av_list_t tmp_cl; in cil_booleanif_to_policydb()
4143 cond_av_list_t *c; in __cil_set_conditional_state_and_flags()
/third_party/selinux/checkpolicy/test/
Ddispol.c230 cond_av_list_t *av_cur; in display_cond_expressions()
Ddismod.c576 cond_av_list_t *av_cur;