/third_party/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 | 566 avtab_t te_avtab; 571 avtab_t te_cond_avtab;
|
/third_party/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() 127 cond_av_list_t *cur, avtab_t *avtab, in bounds_expand_cond_rules() 128 avtab_t *global, avtab_t *other, in bounds_expand_cond_rules() 148 avtab_t *avtab; 166 avtab_t true_avtab; 167 avtab_t false_avtab; 186 avtab_t *global_avtab, in bounds_expand_parent_rules() [all …]
|
D | avtab.c | 93 avtab_insert_node(avtab_t * h, int hvalue, avtab_ptr_t prev, avtab_key_t * key, in avtab_insert_node() 136 int avtab_insert(avtab_t * h, avtab_key_t * key, avtab_datum_t * datum) in avtab_insert() 181 avtab_insert_nonunique(avtab_t * h, avtab_key_t * key, avtab_datum_t * datum) in avtab_insert_nonunique() 213 avtab_datum_t *avtab_search(avtab_t * h, avtab_key_t * key) in avtab_search() 248 avtab_ptr_t avtab_search_node(avtab_t * h, avtab_key_t * key) in avtab_search_node() 307 void avtab_destroy(avtab_t * h) in avtab_destroy() 333 int avtab_map(avtab_t * h, in avtab_map() 356 int avtab_init(avtab_t * h) in avtab_init() 363 int avtab_alloc(avtab_t *h, uint32_t nrules) in avtab_alloc() 394 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() 213 avtab_t *avtab = a->avtab; in report_assertion_avtab_matches() 322 static int check_assertion_extended_permissions_avtab(avrule_t *avrule, avtab_t *avtab, in check_assertion_extended_permissions_avtab() 377 static int check_assertion_extended_permissions(avrule_t *avrule, avtab_t *avtab, in check_assertion_extended_permissions() 454 avtab_t *avtab = a->avtab; in check_assertion_avtab_match()
|
D | optimize.c | 190 static int is_avrule_redundant(avtab_ptr_t entry, avtab_t *tab, in is_avrule_redundant() 288 avtab_t *tab = &p->te_avtab; in optimize_avtab() 366 avtab_t *tab = &p->te_cond_avtab; in optimize_cond_avtab()
|
D | expand.c | 1597 avtab_t * avtab, avtab_key_t * key, in find_avtab_node() 1683 avtab_t * avtab, int enabled) in expand_terule_helper() 1814 class_perm_node_t * perms, avtab_t * avtab, in expand_avrule_helper() 1883 avrule_t * source_rule, avtab_t * dest_avtab, in expand_rule_helper() 1938 avrule_t * source_rule, avtab_t * dest_avtab, in convert_and_expand_rule() 1975 avtab_t * dest_avtab, cond_av_list_t ** list, in cond_avrule_list_copy() 2394 avrule_t * source_rule, avtab_t * dest_avtab, in expand_rule() 3188 static int expand_avtab_insert(avtab_t * a, avtab_key_t * k, avtab_datum_t * d) in expand_avtab_insert() 3251 avtab_t *expa; 3259 avtab_t *expa = ptr->expa; in expand_avtab_node() [all …]
|
D | conditional.c | 621 static int cond_insertf(avtab_t * a in cond_insertf() 872 void cond_compute_av(avtab_t * ctab, avtab_key_t * key, in cond_compute_av()
|
D | write.c | 269 static inline void avtab_reset_merged(avtab_t * a) in avtab_reset_merged() 279 static int avtab_write(struct policydb *p, avtab_t * a, struct policy_file *fp) in avtab_write() 283 avtab_t expa; in avtab_write() 766 avtab_t expa; in cond_write_av_list()
|
D | policydb_validate.c | 403 static int validate_avtab(sepol_handle_t *handle, avtab_t *avtab, validate_t flavors[]) in validate_avtab()
|
/third_party/selinux/checkpolicy/test/ |
D | dispol.c | 166 static int display_avtab(avtab_t * a, uint32_t what, policydb_t * p, FILE * fp) in display_avtab()
|
/third_party/selinux/libsepol/cil/src/ |
D | cil_binary.c | 922 int __cil_cond_insert_rule(avtab_t *avtab, avtab_key_t *avtab_key, avtab_datum_t *avtab_datum, cond… in __cil_cond_insert_rule()
|