Home
last modified time | relevance | path

Searched refs:cond_node_t (Results 1 – 12 of 12) sorted by relevance

/external/selinux/libsepol/include/sepol/policydb/
Dconditional.h95 } cond_node_t; typedef
100 extern int cond_expr_equal(cond_node_t * a, cond_node_t * b);
101 extern int cond_normalize_expr(policydb_t * p, cond_node_t * cn);
102 extern void cond_node_destroy(cond_node_t * node);
105 extern cond_node_t *cond_node_find(policydb_t * p,
106 cond_node_t * needle, cond_node_t * haystack,
109 extern cond_node_t *cond_node_create(policydb_t * p, cond_node_t * node);
111 extern cond_node_t *cond_node_search(policydb_t * p, cond_node_t * list,
112 cond_node_t * cn);
/external/selinux/libsepol/src/
Dconditional.c78 static int same_bools(cond_node_t * a, cond_node_t * b) in same_bools()
98 int cond_expr_equal(cond_node_t * a, cond_node_t * b) in cond_expr_equal()
142 cond_node_t *cond_node_create(policydb_t * p, cond_node_t * node) in cond_node_create()
144 cond_node_t *new_node; in cond_node_create()
147 new_node = (cond_node_t *)malloc(sizeof(cond_node_t)); in cond_node_create()
151 memset(new_node, 0, sizeof(cond_node_t)); in cond_node_create()
175 cond_node_t *cond_node_find(policydb_t * p, in cond_node_find()
176 cond_node_t * needle, cond_node_t * haystack, in cond_node_find()
192 cond_node_t *cond_node_search(policydb_t * p, cond_node_t * list, in cond_node_search()
193 cond_node_t * cn) in cond_node_search()
[all …]
Doptimize.c378 cond_node_t **cond; in optimize_cond_avtab()
390 cond_node_t *cond_tmp = *cond; in optimize_cond_avtab()
Dlink.c1499 static int copy_cond_list(cond_node_t * list, cond_node_t ** dst, in copy_cond_list()
1503 cond_node_t *cur, *new_node = NULL, *tail; in copy_cond_list()
1511 new_node = (cond_node_t *) malloc(sizeof(cond_node_t)); in copy_cond_list()
1515 memset(new_node, 0, sizeof(cond_node_t)); in copy_cond_list()
Dexpand.c2021 static int cond_node_map_bools(expand_state_t * state, cond_node_t * cn) in cond_node_map_bools()
2047 static int cond_node_copy(expand_state_t * state, cond_node_t * cn) in cond_node_copy()
2049 cond_node_t *new_cond, *tmp; in cond_node_copy()
2860 cond_node_t *cur_node; in discard_tunables()
Dwrite.c813 cond_node_t * node, struct policy_file *fp) in cond_write_node()
869 cond_node_t *cur; in cond_write_list()
/external/selinux/libsepol/tests/
Dtest-cond.c72 cond_node_t *a, *b; in test_cond_expr_equal()
/external/selinux/libsepol/cil/src/
Dcil_binary.c75 cond_node_t *cond_node;
922 …le(avtab_t *avtab, avtab_key_t *avtab_key, avtab_datum_t *avtab_datum, cond_node_t *cond_node, enu… in __cil_cond_insert_rule()
973 …t32_t tgt, uint32_t obj, uint32_t res, struct cil_type_rule *cil_rule, cond_node_t *cond_node, enu… in __cil_insert_type_rule()
1072 cond_node_t *cond_node, in __cil_type_rule_to_avtab_helper()
1093 …icydb_t *pdb, const struct cil_db *db, struct cil_type_rule *cil_rule, cond_node_t *cond_node, enu… in __cil_type_rule_to_avtab()
1206 …db, const struct cil_db *db, struct cil_nametypetransition *typetrans, cond_node_t *cond_node, enu… in __cil_typetransition_to_avtab()
1344 …int32_t kind, uint32_t src, uint32_t tgt, uint32_t obj, uint32_t data, cond_node_t *cond_node, enu… in __cil_insert_avrule()
1391 …b_datum *src, struct cil_symtab_datum *tgt, struct cil_classperms *cp, cond_node_t *cond_node, enu… in __cil_avrule_expand_helper()
1432 …datum *src, struct cil_symtab_datum *tgt, struct cil_list *classperms, cond_node_t *cond_node, enu… in __cil_avrule_expand()
1487 …licydb_t *pdb, const struct cil_db *db, struct cil_avrule *cil_avrule, cond_node_t *cond_node, enu… in __cil_avrule_to_avtab()
[all …]
/external/selinux/checkpolicy/test/
Ddispol.c229 cond_node_t *cur; in display_cond_expressions()
Ddismod.c575 cond_node_t *cur;
/external/selinux/checkpolicy/
Dcheckpolicy.c345 const cond_node_t *cur; in display_cond_expressions()
Dpolicy_define.c3934 cond_node_t cn, *cn_old; in define_conditional()