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.c77 static int same_bools(cond_node_t * a, cond_node_t * b) in same_bools()
97 int cond_expr_equal(cond_node_t * a, cond_node_t * b) in cond_expr_equal()
141 cond_node_t *cond_node_create(policydb_t * p, cond_node_t * node) in cond_node_create()
143 cond_node_t *new_node; in cond_node_create()
146 new_node = (cond_node_t *)malloc(sizeof(cond_node_t)); in cond_node_create()
150 memset(new_node, 0, sizeof(cond_node_t)); in cond_node_create()
174 cond_node_t *cond_node_find(policydb_t * p, in cond_node_find()
175 cond_node_t * needle, cond_node_t * haystack, in cond_node_find()
191 cond_node_t *cond_node_search(policydb_t * p, cond_node_t * list, in cond_node_search()
192 cond_node_t * cn) in cond_node_search()
[all …]
Doptimize.c300 cond_node_t **cond; in optimize_cond_avtab()
312 cond_node_t *cond_tmp = *cond; in optimize_cond_avtab()
Dlink.c1539 static int copy_cond_list(cond_node_t * list, cond_node_t ** dst, in copy_cond_list()
1543 cond_node_t *cur, *new_node = NULL, *tail; in copy_cond_list()
1551 new_node = (cond_node_t *) malloc(sizeof(cond_node_t)); in copy_cond_list()
1555 memset(new_node, 0, sizeof(cond_node_t)); in copy_cond_list()
Dexpand.c1992 static int cond_node_map_bools(expand_state_t * state, cond_node_t * cn) in cond_node_map_bools()
2018 static int cond_node_copy(expand_state_t * state, cond_node_t * cn) in cond_node_copy()
2020 cond_node_t *new_cond, *tmp; in cond_node_copy()
2831 cond_node_t *cur_node; in discard_tunables()
Dwrite.c753 cond_node_t * node, struct policy_file *fp) in cond_write_node()
809 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.c79 cond_node_t *cond_node;
926 …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()
977 …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()
1070 …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()
1127 …db, const struct cil_db *db, struct cil_nametypetransition *typetrans, cond_node_t *cond_node, enu… in __cil_typetransition_to_avtab()
1278 …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()
1325 …b_datum *src, struct cil_symtab_datum *tgt, struct cil_classperms *cp, cond_node_t *cond_node, enu… in __cil_avrule_expand_helper()
1366 …datum *src, struct cil_symtab_datum *tgt, struct cil_list *classperms, cond_node_t *cond_node, enu… in __cil_avrule_expand()
1421 …licydb_t *pdb, const struct cil_db *db, struct cil_avrule *cil_avrule, cond_node_t *cond_node, enu… in __cil_avrule_to_avtab()
1908 cond_node_t *cond_node = args->cond_node; in __cil_cond_to_policydb_helper()
[all …]
/external/selinux/checkpolicy/test/
Ddispol.c229 cond_node_t *cur; in display_cond_expressions()
Ddismod.c576 cond_node_t *cur;
/external/selinux/checkpolicy/
Dcheckpolicy.c347 cond_node_t *cur; in display_cond_expressions()
Dpolicy_define.c3913 cond_node_t cn, *cn_old; in define_conditional()