Home
last modified time | relevance | path

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

/external/selinux/libsepol/include/sepol/policydb/
Davtab.h103 } avtab_t; typedef
105 extern int avtab_init(avtab_t *);
106 extern int avtab_alloc(avtab_t *, uint32_t);
107 extern int avtab_insert(avtab_t * h, avtab_key_t * k, avtab_datum_t * d);
109 extern avtab_datum_t *avtab_search(avtab_t * h, avtab_key_t * k);
111 extern void avtab_destroy(avtab_t * h);
113 extern int avtab_map(avtab_t * h,
117 extern void avtab_hash_eval(avtab_t * h, char *tag);
120 extern int avtab_read_item(struct policy_file *fp, uint32_t vers, avtab_t * a,
121 int (*insert) (avtab_t * a, avtab_key_t * k,
[all …]
Dexpand.h73 avrule_t * source_rule, avtab_t * dest_avtab,
77 extern int expand_avtab(policydb_t * p, avtab_t * a, avtab_t * expa);
80 cond_av_list_t ** newl, avtab_t * expa);
Dconditional.h136 extern void cond_compute_av(avtab_t * ctab, avtab_key_t * key,
Dpolicydb.h543 avtab_t te_avtab;
548 avtab_t te_cond_avtab;
/external/selinux/libsepol/src/
Davtab.c92 avtab_insert_node(avtab_t * h, int hvalue, avtab_ptr_t prev, avtab_key_t * key, in avtab_insert_node()
130 int avtab_insert(avtab_t * h, avtab_key_t * key, avtab_datum_t * datum) in avtab_insert()
174 avtab_insert_nonunique(avtab_t * h, avtab_key_t * key, avtab_datum_t * datum) in avtab_insert_nonunique()
206 avtab_datum_t *avtab_search(avtab_t * h, avtab_key_t * key) in avtab_search()
241 avtab_ptr_t avtab_search_node(avtab_t * h, avtab_key_t * key) in avtab_search_node()
300 void avtab_destroy(avtab_t * h) in avtab_destroy()
323 int avtab_map(avtab_t * h, in avtab_map()
346 int avtab_init(avtab_t * h) in avtab_init()
353 int avtab_alloc(avtab_t *h, uint32_t nrules) in avtab_alloc()
384 void avtab_hash_eval(avtab_t * h, char *tag) in avtab_hash_eval()
[all …]
Dassertion.c63 avtab_t * te_avtab, avtab_t * te_cond_avtab, in check_assertion_helper()
102 avtab_t te_avtab, te_cond_avtab; in check_assertions()
Dhierarchy.c42 avtab_t *expa; /* expanded avtab */
272 avtab_t expa_true, expa_false; in pullup_unconditional_perms()
336 avtab_t expa; in check_cond_avtab_hierarchy()
453 avtab_t expa; in hierarchy_check_constraints()
Dexpand.c1605 avtab_t * avtab, avtab_key_t * key, in find_avtab_node()
1674 avtab_t * avtab, int enabled) in expand_terule_helper()
1782 class_perm_node_t * perms, avtab_t * avtab, in expand_avrule_helper()
1887 avrule_t * source_rule, avtab_t * dest_avtab, in expand_rule_helper()
1946 avrule_t * source_rule, avtab_t * dest_avtab, in convert_and_expand_rule()
1981 avtab_t * dest_avtab, cond_av_list_t ** list, in cond_avrule_list_copy()
2373 avrule_t * source_rule, avtab_t * dest_avtab, in expand_rule()
3154 static int expand_avtab_insert(avtab_t * a, avtab_key_t * k, avtab_datum_t * d) in expand_avtab_insert()
3219 avtab_t *expa;
3227 avtab_t *expa = ptr->expa; in expand_avtab_node()
[all …]
Dconditional.c625 static int cond_insertf(avtab_t * a in cond_insertf()
878 void cond_compute_av(avtab_t * ctab, avtab_key_t * key, in cond_compute_av()
Dwrite.c259 static inline void avtab_reset_merged(avtab_t * a) in avtab_reset_merged()
269 static int avtab_write(struct policydb *p, avtab_t * a, struct policy_file *fp) in avtab_write()
273 avtab_t expa; in avtab_write()
680 avtab_t expa; in cond_write_av_list()
/external/sepolicy/tools/
Dsepolicy-check.c66 perm_datum_t *perm, policydb_t *policy, avtab_t *avtab) { in expand_and_check()
67 avtab_t exp_avtab; in expand_and_check()
/external/sepolicy/tools/sepolicy-analyze/
Dtypecmp.c159 avtab_t exp_avtab, exp_cond_avtab; in analyze_types()
/external/selinux/checkpolicy/test/
Ddispol.c217 int display_avtab(avtab_t * a, uint32_t what, policydb_t * p, FILE * fp) in display_avtab()
/external/selinux/libsepol/cil/src/
Dcil_binary.c951 int __cil_cond_insert_rule(avtab_t *avtab, avtab_key_t *avtab_key, avtab_datum_t *avtab_datum, cond… in __cil_cond_insert_rule()