/external/selinux/libsepol/include/sepol/policydb/ |
D | avtab.h | 105 } avtab_t; typedef 107 extern int avtab_init(avtab_t *); 108 extern int avtab_alloc(avtab_t *, uint32_t); 109 extern int avtab_insert(avtab_t * h, avtab_key_t * k, avtab_datum_t * d); 111 extern avtab_datum_t *avtab_search(avtab_t * h, avtab_key_t * k); 113 extern void avtab_destroy(avtab_t * h); 115 extern int avtab_map(avtab_t * h, 119 extern void avtab_hash_eval(avtab_t * h, char *tag); 122 extern int avtab_read_item(struct policy_file *fp, uint32_t vers, avtab_t * a, 123 int (*insert) (avtab_t * a, avtab_key_t * k, [all …]
|
D | expand.h | 74 avrule_t * source_rule, avtab_t * dest_avtab, 78 extern int expand_avtab(policydb_t * p, avtab_t * a, avtab_t * expa); 81 cond_av_list_t ** newl, avtab_t * expa);
|
D | conditional.h | 137 extern void cond_compute_av(avtab_t * ctab, avtab_key_t * key,
|
D | policydb.h | 564 avtab_t te_avtab; 569 avtab_t te_cond_avtab;
|
/external/selinux/libsepol/src/ |
D | hierarchy.c | 42 static int bounds_insert_helper(sepol_handle_t *handle, avtab_t *avtab, in bounds_insert_helper() 56 static int bounds_insert_rule(sepol_handle_t *handle, avtab_t *avtab, in bounds_insert_rule() 57 avtab_t *global, avtab_t *other, in bounds_insert_rule() 98 avtab_t *avtab, avtab_t *global, avtab_t *other, in bounds_expand_rule() 129 cond_av_list_t *cur, avtab_t *avtab, in bounds_expand_cond_rules() 130 avtab_t *global, avtab_t *other, in bounds_expand_cond_rules() 150 avtab_t *avtab; 168 avtab_t true_avtab; 169 avtab_t false_avtab; 188 avtab_t *global_avtab, in bounds_expand_parent_rules() [all …]
|
D | avtab.c | 92 avtab_insert_node(avtab_t * h, int hvalue, avtab_ptr_t prev, avtab_key_t * key, in avtab_insert_node() 135 int avtab_insert(avtab_t * h, avtab_key_t * key, avtab_datum_t * datum) in avtab_insert() 180 avtab_insert_nonunique(avtab_t * h, avtab_key_t * key, avtab_datum_t * datum) in avtab_insert_nonunique() 212 avtab_datum_t *avtab_search(avtab_t * h, avtab_key_t * key) in avtab_search() 247 avtab_ptr_t avtab_search_node(avtab_t * h, avtab_key_t * key) in avtab_search_node() 306 void avtab_destroy(avtab_t * h) in avtab_destroy() 332 int avtab_map(avtab_t * h, in avtab_map() 355 int avtab_init(avtab_t * h) in avtab_init() 362 int avtab_alloc(avtab_t *h, uint32_t nrules) in avtab_alloc() 393 void avtab_hash_eval(avtab_t * h, char *tag) in avtab_hash_eval() [all …]
|
D | assertion.c | 35 avtab_t *avtab; 144 avtab_key_t *k, avtab_t *avtab) in report_assertion_extended_permissions() 217 avtab_t *avtab = a->avtab; in report_assertion_avtab_matches() 331 static int check_assertion_extended_permissions_avtab(avrule_t *avrule, avtab_t *avtab, in check_assertion_extended_permissions_avtab() 390 static int check_assertion_extended_permissions(avrule_t *avrule, avtab_t *avtab, in check_assertion_extended_permissions() 472 avtab_t *avtab = a->avtab; in check_assertion_avtab_match()
|
D | expand.c | 1625 avtab_t * avtab, avtab_key_t * key, in find_avtab_node() 1706 avtab_t * avtab, int enabled) in expand_terule_helper() 1837 class_perm_node_t * perms, avtab_t * avtab, in expand_avrule_helper() 1906 avrule_t * source_rule, avtab_t * dest_avtab, in expand_rule_helper() 1965 avrule_t * source_rule, avtab_t * dest_avtab, in convert_and_expand_rule() 2002 avtab_t * dest_avtab, cond_av_list_t ** list, in cond_avrule_list_copy() 2423 avrule_t * source_rule, avtab_t * dest_avtab, in expand_rule() 3226 static int expand_avtab_insert(avtab_t * a, avtab_key_t * k, avtab_datum_t * d) in expand_avtab_insert() 3289 avtab_t *expa; 3297 avtab_t *expa = ptr->expa; in expand_avtab_node() [all …]
|
D | conditional.c | 622 static int cond_insertf(avtab_t * a in cond_insertf() 875 void cond_compute_av(avtab_t * ctab, avtab_key_t * key, in cond_compute_av()
|
D | write.c | 265 static inline void avtab_reset_merged(avtab_t * a) in avtab_reset_merged() 275 static int avtab_write(struct policydb *p, avtab_t * a, struct policy_file *fp) in avtab_write() 279 avtab_t expa; in avtab_write() 701 avtab_t expa; in cond_write_av_list()
|
/external/selinux/checkpolicy/test/ |
D | dispol.c | 166 int display_avtab(avtab_t * a, uint32_t what, policydb_t * p, FILE * fp) in display_avtab()
|
/external/selinux/libsepol/cil/src/ |
D | cil_binary.c | 939 int __cil_cond_insert_rule(avtab_t *avtab, avtab_key_t *avtab_key, avtab_datum_t *avtab_datum, cond… in __cil_cond_insert_rule()
|