Home
last modified time | relevance | path

Searched refs:cond_node_t (Results 1 – 11 of 11) 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 …]
Dlink.c1546 static int copy_cond_list(cond_node_t * list, cond_node_t ** dst, in copy_cond_list()
1550 cond_node_t *cur, *new_node = NULL, *tail; in copy_cond_list()
1558 new_node = (cond_node_t *) malloc(sizeof(cond_node_t)); in copy_cond_list()
1562 memset(new_node, 0, sizeof(cond_node_t)); in copy_cond_list()
Dexpand.c2016 static int cond_node_map_bools(expand_state_t * state, cond_node_t * cn) in cond_node_map_bools()
2042 static int cond_node_copy(expand_state_t * state, cond_node_t * cn) in cond_node_copy()
2044 cond_node_t *new_cond, *tmp; in cond_node_copy()
2851 cond_node_t *cur_node; in discard_tunables()
Dwrite.c746 cond_node_t * node, struct policy_file *fp) in cond_write_node()
802 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;
935 …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()
986 …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()
1079 …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()
1140 …db, const struct cil_db *db, struct cil_nametypetransition *typetrans, cond_node_t *cond_node, enu… in __cil_typetransition_to_avtab()
1305 …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()
1352 …b_datum *src, struct cil_symtab_datum *tgt, struct cil_classperms *cp, cond_node_t *cond_node, enu… in __cil_avrule_expand_helper()
1393 …datum *src, struct cil_symtab_datum *tgt, struct cil_list *classperms, cond_node_t *cond_node, enu… in __cil_avrule_expand()
1448 …licydb_t *pdb, const struct cil_db *db, struct cil_avrule *cil_avrule, cond_node_t *cond_node, enu… in __cil_avrule_to_avtab()
1947 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.c551 cond_node_t *cur;
/external/selinux/checkpolicy/
Dcheckpolicy.c343 cond_node_t *cur; in display_cond_expressions()
Dpolicy_define.c3936 cond_node_t cn, *cn_old; in define_conditional()