Home
last modified time | relevance | path

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

/third_party/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,
/third_party/selinux/libsepol/src/
Davtab.c94 avtab_datum_t * datum) 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()
335 avtab_datum_t * d, void *args), void *args) in avtab_map()
436 avtab_datum_t * d, void *p), void *p) in avtab_read_item()
442 avtab_datum_t datum; in avtab_read_item()
449 memset(&datum, 0, sizeof(avtab_datum_t)); in avtab_read_item()
585 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.c165 avtab_datum_t *d1, const avtab_datum_t *d2) in process_avtab_datum()
205 avtab_datum_t *d1, *d2; in is_avrule_redundant()
Dexpand.c1627 avtab_datum_t avdatum; in find_avtab_node()
1711 avtab_datum_t *avdatump; in expand_terule_helper()
1801 static int allocate_xperms(sepol_handle_t * handle, avtab_datum_t * avdatump, in allocate_xperms()
1843 avtab_datum_t *avdatump; in expand_avrule_helper()
3214 static int expand_avtab_insert(avtab_t * a, avtab_key_t * k, avtab_datum_t * d) in expand_avtab_insert()
3217 avtab_datum_t *avd; in expand_avtab_insert()
3282 static int expand_avtab_node(avtab_key_t * k, avtab_datum_t * d, void *args) in expand_avtab_node()
3358 avtab_key_t * k, avtab_datum_t * d) in expand_cond_insert()
3361 avtab_datum_t *avd; in expand_cond_insert()
3408 avtab_datum_t *d = &node->datum; in expand_cond_av_node()
Dassertion.c212 static int report_assertion_avtab_matches(avtab_key_t *k, avtab_datum_t *d, void *args) in report_assertion_avtab_matches()
471 static int check_assertion_avtab_match(avtab_key_t *k, avtab_datum_t *d, void *args) in check_assertion_avtab_match()
Dconditional.c621 avtab_datum_t * d, void *ptr) in cond_insertf()
889 avtab_datum_t *cond_av_list_search(avtab_key_t * key, in cond_av_list_search()
Dkernel_to_conf.c1677 static char *avtab_node_to_str(struct policydb *pdb, avtab_key_t *key, avtab_datum_t *datum) in avtab_node_to_str()
1766 static int map_avtab_write_helper(avtab_key_t *key, avtab_datum_t *datum, void *args) in map_avtab_write_helper()
2030 avtab_datum_t *datum; in write_cond_av_list_to_conf()
Dkernel_to_cil.c1704 static char *avtab_node_to_str(struct policydb *pdb, avtab_key_t *key, avtab_datum_t *datum) in avtab_node_to_str()
1795 static int map_avtab_write_helper(avtab_key_t *key, avtab_datum_t *datum, void *args) in map_avtab_write_helper()
2059 avtab_datum_t *datum; in write_cond_av_list_to_cil()
Dpolicydb_validate.c761 static int validate_avtab_key_and_datum(avtab_key_t *k, avtab_datum_t *d, void *args) in validate_avtab_key_and_datum()
Dservices.c1337 avtab_datum_t *avdatum; in sepol_compute_sid()
/third_party/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()
/third_party/selinux/libsepol/cil/src/
Dcil_binary.c922 static int __cil_cond_insert_rule(avtab_t *avtab, avtab_key_t *avtab_key, avtab_datum_t *avtab_datu… in __cil_cond_insert_rule()
957 static avtab_datum_t *cil_cond_av_list_search(avtab_key_t *key, cond_av_list_t *cond_list) in cil_cond_av_list_search()
977 avtab_datum_t avtab_datum; in __cil_insert_type_rule()
1028 avtab_datum_t *search_datum; in __cil_insert_type_rule()
1348 avtab_datum_t avtab_datum; in __cil_insert_avrule()
1349 avtab_datum_t *avtab_dup = NULL; in __cil_insert_avrule()
1708 avtab_datum_t avtab_datum; in __cil_avrulex_ioctl_to_policydb()
4929 avtab_datum_t *d = &sepol_rule->datum; in cil_avrule_from_sepol()
/third_party/selinux/checkpolicy/test/
Ddispol.c87 static int render_av_rule(avtab_key_t * key, avtab_datum_t * datum, uint32_t what, in render_av_rule()