Home
last modified time | relevance | path

Searched refs:avtab_datum_t (Results 1 – 15 of 15) 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()
152 static int bounds_expand_rule_callback(avtab_key_t *k, avtab_datum_t *d, in bounds_expand_rule_callback()
250 avtab_datum_t *datum = avtab_search(cur_avtab, avtab_key); in bounds_not_covered()
334 avtab_datum_t *datum = &ap->datum; in bounds_check_cond_rules()
358 static int bounds_check_rule_callback(avtab_key_t *k, avtab_datum_t *d, in bounds_check_rule_callback()
Doptimize.c91 avtab_datum_t *d1, const avtab_datum_t *d2) in process_avtab_datum()
130 avtab_datum_t *d1, *d2; in is_avrule_redundant()
Dexpand.c1603 avtab_datum_t avdatum; in find_avtab_node()
1682 avtab_datum_t *avdatump; in expand_terule_helper()
1772 static int allocate_xperms(sepol_handle_t * handle, avtab_datum_t * avdatump, in allocate_xperms()
1814 avtab_datum_t *avdatump; in expand_avrule_helper()
3183 static int expand_avtab_insert(avtab_t * a, avtab_key_t * k, avtab_datum_t * d) in expand_avtab_insert()
3186 avtab_datum_t *avd; in expand_avtab_insert()
3251 static int expand_avtab_node(avtab_key_t * k, avtab_datum_t * d, void *args) in expand_avtab_node()
3327 avtab_key_t * k, avtab_datum_t * d) in expand_cond_insert()
3330 avtab_datum_t *avd; in expand_cond_insert()
3377 avtab_datum_t *d = &node->datum; in expand_cond_av_node()
Dassertion.c207 static int report_assertion_avtab_matches(avtab_key_t *k, avtab_datum_t *d, void *args) in report_assertion_avtab_matches()
448 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_conf.c1633 static char *avtab_node_to_str(struct policydb *pdb, avtab_key_t *key, avtab_datum_t *datum) in avtab_node_to_str()
1722 static int map_avtab_write_helper(avtab_key_t *key, avtab_datum_t *datum, void *args) in map_avtab_write_helper()
1972 avtab_datum_t *datum; in write_cond_av_list_to_conf()
Dkernel_to_cil.c1651 static char *avtab_node_to_str(struct policydb *pdb, avtab_key_t *key, avtab_datum_t *datum) in avtab_node_to_str()
1742 static int map_avtab_write_helper(avtab_key_t *key, avtab_datum_t *datum, void *args) in map_avtab_write_helper()
1992 avtab_datum_t *datum; in write_cond_av_list_to_cil()
Dservices.c1367 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.c167 static int insert_type_rule(avtab_key_t * k, avtab_datum_t * d, in insert_type_rule()
203 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.c926 int __cil_cond_insert_rule(avtab_t *avtab, avtab_key_t *avtab_key, avtab_datum_t *avtab_datum, cond… in __cil_cond_insert_rule()
961 avtab_datum_t *cil_cond_av_list_search(avtab_key_t *key, cond_av_list_t *cond_list) in cil_cond_av_list_search()
981 avtab_datum_t avtab_datum; in __cil_insert_type_rule()
1032 avtab_datum_t *search_datum; in __cil_insert_type_rule()
1282 avtab_datum_t avtab_datum; in __cil_insert_avrule()
1283 avtab_datum_t *avtab_dup = NULL; in __cil_insert_avrule()
1642 avtab_datum_t avtab_datum; in __cil_avrulex_ioctl_to_policydb()
4700 avtab_datum_t *d = &sepol_rule->datum; in cil_avrule_from_sepol()