Searched refs:cond_node_t (Results 1 – 12 of 12) sorted by relevance
/external/selinux/libsepol/include/sepol/policydb/ |
D | conditional.h | 94 } cond_node_t; typedef 99 extern int cond_expr_equal(cond_node_t * a, cond_node_t * b); 100 extern int cond_normalize_expr(policydb_t * p, cond_node_t * cn); 101 extern void cond_node_destroy(cond_node_t * node); 104 extern cond_node_t *cond_node_find(policydb_t * p, 105 cond_node_t * needle, cond_node_t * haystack, 108 extern cond_node_t *cond_node_create(policydb_t * p, cond_node_t * node); 110 extern cond_node_t *cond_node_search(policydb_t * p, cond_node_t * list, 111 cond_node_t * cn);
|
/external/selinux/libsepol/src/ |
D | conditional.c | 77 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 …]
|
D | link.c | 1546 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()
|
D | expand.c | 2002 static int cond_node_map_bools(expand_state_t * state, cond_node_t * cn) in cond_node_map_bools() 2028 static int cond_node_copy(expand_state_t * state, cond_node_t * cn) in cond_node_copy() 2030 cond_node_t *new_cond, *tmp; in cond_node_copy() 2802 cond_node_t *cur_node; in discard_tunables()
|
D | write.c | 727 cond_node_t * node, struct policy_file *fp) in cond_write_node() 783 cond_node_t *cur; in cond_write_list()
|
/external/selinux/libsepol/tests/ |
D | test-cond.c | 72 cond_node_t *a, *b; in test_cond_expr_equal()
|
/external/selinux/libsepol/cil/src/ |
D | cil_binary.c | 69 cond_node_t *cond_node; 951 …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() 1002 …uint32_t kind, uint32_t src, uint32_t tgt, uint32_t obj, uint32_t res, cond_node_t *cond_node, enu… in __cil_insert_type_rule() 1081 …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() 1142 …db, const struct cil_db *db, struct cil_nametypetransition *typetrans, cond_node_t *cond_node, enu… in __cil_typetransition_to_avtab() 1280 …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() 1409 …b_datum *tgt, struct cil_classperms *cp, struct cil_list *neverallows, cond_node_t *cond_node, enu… in __cil_avrule_expand_helper() 1459 …datum *tgt, struct cil_list *classperms, struct cil_list *neverallows, cond_node_t *cond_node, enu… in __cil_avrule_expand() 1498 …l_db *db, struct cil_avrule *cil_avrule, struct cil_list *neverallows, cond_node_t *cond_node, enu… in __cil_avrule_to_avtab() 1563 cond_node_t *cond_node = args->cond_node; in __cil_cond_to_policydb_helper() [all …]
|
/external/selinux/checkpolicy/test/ |
D | dispol.c | 280 cond_node_t *cur; in display_cond_expressions()
|
D | dismod.c | 551 cond_node_t *cur;
|
/external/selinux/checkpolicy/ |
D | checkpolicy.c | 341 cond_node_t *cur; in display_cond_expressions()
|
D | policy_define.c | 3755 cond_node_t cn, *cn_old; in define_conditional()
|
/external/selinux/libsepol/ |
D | ChangeLog | 83 * Skip tunable identifier and cond_node_t in expansion.
|