Home
last modified time | relevance | path

Searched refs:avtab_t (Results 1 – 14 of 14) sorted by relevance

/third_party/selinux/libsepol/include/sepol/policydb/
Davtab.h105 } 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 …]
Dexpand.h74 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);
Dconditional.h137 extern void cond_compute_av(avtab_t * ctab, avtab_key_t * key,
Dpolicydb.h566 avtab_t te_avtab;
571 avtab_t te_cond_avtab;
/third_party/selinux/libsepol/src/
Dhierarchy.c42 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 …]
Davtab.c93 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 …]
Dassertion.c35 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()
Doptimize.c190 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()
Dexpand.c1597 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 …]
Dconditional.c621 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()
Dwrite.c269 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()
Dpolicydb_validate.c403 static int validate_avtab(sepol_handle_t *handle, avtab_t *avtab, validate_t flavors[]) in validate_avtab()
/third_party/selinux/checkpolicy/test/
Ddispol.c166 static int display_avtab(avtab_t * a, uint32_t what, policydb_t * p, FILE * fp) in display_avtab()
/third_party/selinux/libsepol/cil/src/
Dcil_binary.c922 int __cil_cond_insert_rule(avtab_t *avtab, avtab_key_t *avtab_key, avtab_datum_t *avtab_datum, cond… in __cil_cond_insert_rule()