Home
last modified time | relevance | path

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

/external/selinux/libsepol/include/sepol/policydb/
Davtab.h86 } avtab_datum_t; typedef
92 avtab_datum_t datum;
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);
117 avtab_datum_t * d, void *args), void *args);
124 avtab_datum_t * d, void *p), void *p);
129 avtab_datum_t * datum);
133 avtab_datum_t * datum,
Dconditional.h116 extern avtab_datum_t *cond_av_list_search(avtab_key_t * key,
/external/selinux/libsepol/src/
Davtab.c93 avtab_datum_t * datum) 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()
334 avtab_datum_t * d, void *args), void *args) in avtab_map()
435 avtab_datum_t * d, void *p), void *p) in avtab_read_item()
441 avtab_datum_t datum; in avtab_read_item()
448 memset(&datum, 0, sizeof(avtab_datum_t)); in avtab_read_item()
579 static int avtab_insertf(avtab_t * a, avtab_key_t * k, avtab_datum_t * d, in avtab_insertf()
Dhierarchy.c43 avtab_key_t *avtab_key, avtab_datum_t *datum) in bounds_insert_helper()
58 avtab_key_t *avtab_key, avtab_datum_t *datum) in bounds_insert_rule()
61 avtab_datum_t *dup = avtab_search(avtab, avtab_key); in bounds_insert_rule()
81 avtab_datum_t d; in bounds_insert_rule()
104 avtab_datum_t datum; in bounds_expand_rule()
154 static int bounds_expand_rule_callback(avtab_key_t *k, avtab_datum_t *d, in bounds_expand_rule_callback()
252 avtab_datum_t *datum = avtab_search(cur_avtab, avtab_key); in bounds_not_covered()
338 avtab_datum_t *datum = &ap->datum; in bounds_check_cond_rules()
362 static int bounds_check_rule_callback(avtab_key_t *k, avtab_datum_t *d, in bounds_check_rule_callback()
Dexpand.c1623 avtab_datum_t avdatum; in find_avtab_node()
1702 avtab_datum_t *avdatump; in expand_terule_helper()
1792 static int allocate_xperms(sepol_handle_t * handle, avtab_datum_t * avdatump, in allocate_xperms()
1834 avtab_datum_t *avdatump; in expand_avrule_helper()
3203 static int expand_avtab_insert(avtab_t * a, avtab_key_t * k, avtab_datum_t * d) in expand_avtab_insert()
3206 avtab_datum_t *avd; in expand_avtab_insert()
3271 static int expand_avtab_node(avtab_key_t * k, avtab_datum_t * d, void *args) in expand_avtab_node()
3355 avtab_key_t * k, avtab_datum_t * d) in expand_cond_insert()
3358 avtab_datum_t *avd; in expand_cond_insert()
3405 avtab_datum_t *d = &node->datum; in expand_cond_av_node()
Dassertion.c211 static int report_assertion_avtab_matches(avtab_key_t *k, avtab_datum_t *d, void *args) in report_assertion_avtab_matches()
466 static int check_assertion_avtab_match(avtab_key_t *k, avtab_datum_t *d, void *args) in check_assertion_avtab_match()
Dconditional.c624 avtab_datum_t * d, void *ptr) in cond_insertf()
903 avtab_datum_t *cond_av_list_search(avtab_key_t * key, in cond_av_list_search()
Dkernel_to_cil.c1638 static char *avtab_node_to_str(struct policydb *pdb, avtab_key_t *key, avtab_datum_t *datum) in avtab_node_to_str()
1729 static int map_avtab_write_helper(avtab_key_t *key, avtab_datum_t *datum, void *args) in map_avtab_write_helper()
1979 avtab_datum_t *datum; in write_cond_av_list_to_cil()
Dkernel_to_conf.c1608 static char *avtab_node_to_str(struct policydb *pdb, avtab_key_t *key, avtab_datum_t *datum) in avtab_node_to_str()
1697 static int map_avtab_write_helper(avtab_key_t *key, avtab_datum_t *datum, void *args) in map_avtab_write_helper()
1947 avtab_datum_t *datum; in write_cond_av_list_to_conf()
Dservices.c1370 avtab_datum_t *avdatum; in sepol_compute_sid()
/external/selinux/python/audit2allow/
Dsepolgen-ifgen-attr-helper.c111 int output_avrule(avtab_key_t *key, avtab_datum_t *datum, void *args) in output_avrule()
/external/selinux/checkpolicy/
Dcheckpolicy.c163 static int insert_type_rule(avtab_key_t * k, avtab_datum_t * d, in insert_type_rule()
199 static int create_type_rules(avtab_key_t * k, avtab_datum_t * d, void *args) in create_type_rules()
/external/selinux/checkpolicy/test/
Ddispol.c87 int render_av_rule(avtab_key_t * key, avtab_datum_t * datum, uint32_t what, in render_av_rule()
/external/selinux/libsepol/cil/src/
Dcil_binary.c935 int __cil_cond_insert_rule(avtab_t *avtab, avtab_key_t *avtab_key, avtab_datum_t *avtab_datum, cond… in __cil_cond_insert_rule()
970 avtab_datum_t *cil_cond_av_list_search(avtab_key_t *key, cond_av_list_t *cond_list) in cil_cond_av_list_search()
990 avtab_datum_t avtab_datum; in __cil_insert_type_rule()
1041 avtab_datum_t *search_datum; in __cil_insert_type_rule()
1309 avtab_datum_t avtab_datum; in __cil_insert_avrule()
1310 avtab_datum_t *avtab_dup = NULL; in __cil_insert_avrule()
1677 avtab_datum_t avtab_datum; in __cil_avrulex_ioctl_to_policydb()
4734 avtab_datum_t *d = &sepol_rule->datum; in cil_avrule_from_sepol()