Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/include/sepol/policydb/
Davtab.h71 } avtab_key_t; typedef
91 avtab_key_t key;
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);
116 int (*apply) (avtab_key_t * k,
123 int (*insert) (avtab_t * a, avtab_key_t * k,
128 extern avtab_ptr_t avtab_insert_nonunique(avtab_t * h, avtab_key_t * key,
132 avtab_key_t * key,
136 extern avtab_ptr_t avtab_search_node(avtab_t * h, avtab_key_t * key);
Dconditional.h116 extern avtab_datum_t *cond_av_list_search(avtab_key_t * key,
137 extern void cond_compute_av(avtab_t * ctab, avtab_key_t * key,
/third_party/selinux/libsepol/src/
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()
334 int (*apply) (avtab_key_t * k, in avtab_map()
435 int (*insertf) (avtab_t * a, avtab_key_t * k, in avtab_read_item()
441 avtab_key_t key; in avtab_read_item()
448 memset(&key, 0, sizeof(avtab_key_t)); in avtab_read_item()
580 static int avtab_insertf(avtab_t * a, avtab_key_t * k, avtab_datum_t * d, in avtab_insertf()
Dassertion.c144 avtab_key_t *k, avtab_t *avtab) in report_assertion_extended_permissions()
147 avtab_key_t tmp_key; in report_assertion_extended_permissions()
157 memcpy(&tmp_key, k, sizeof(avtab_key_t)); in report_assertion_extended_permissions()
207 static int report_assertion_avtab_matches(avtab_key_t *k, avtab_datum_t *d, void *args) in report_assertion_avtab_matches()
324 avtab_key_t *k, policydb_t *p) in check_assertion_extended_permissions_avtab()
327 avtab_key_t tmp_key; in check_assertion_extended_permissions_avtab()
336 memcpy(&tmp_key, k, sizeof(avtab_key_t)); in check_assertion_extended_permissions_avtab()
378 avtab_key_t *k, policydb_t *p) in check_assertion_extended_permissions()
448 static int check_assertion_avtab_match(avtab_key_t *k, avtab_datum_t *d, void *args) in check_assertion_avtab_match()
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()
103 avtab_key_t avtab_key; in bounds_expand_rule()
152 static int bounds_expand_rule_callback(avtab_key_t *k, avtab_datum_t *d, in bounds_expand_rule_callback()
248 avtab_key_t *avtab_key, uint32_t data) in bounds_not_covered()
288 avtab_key_t avtab_key; in bounds_check_rule()
333 avtab_key_t *key = &ap->key; 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()
Dconditional.c622 __attribute__ ((unused)), avtab_key_t * k, in cond_insertf()
872 void cond_compute_av(avtab_t * ctab, avtab_key_t * key, in cond_compute_av()
900 avtab_datum_t *cond_av_list_search(avtab_key_t * key, in cond_av_list_search()
Dexpand.c1597 avtab_t * avtab, avtab_key_t * key, in find_avtab_node()
1685 avtab_key_t avkey; in expand_terule_helper()
1817 avtab_key_t avkey; in expand_avrule_helper()
3188 static int expand_avtab_insert(avtab_t * a, avtab_key_t * k, avtab_datum_t * d) in expand_avtab_insert()
3256 static int expand_avtab_node(avtab_key_t * k, avtab_datum_t * d, void *args) in expand_avtab_node()
3267 avtab_key_t newkey; in expand_avtab_node()
3332 avtab_key_t * k, avtab_datum_t * d) in expand_cond_insert()
3381 avtab_key_t *k = &node->key; in expand_cond_av_node()
3389 avtab_key_t newkey; in expand_cond_av_node()
Dpolicydb_validate.c382 static int validate_avtab_key(avtab_key_t *key, validate_t flavors[]) in validate_avtab_key()
397 static int validate_avtab_key_wrapper(avtab_key_t *k, __attribute__ ((unused)) avtab_datum_t *d, v… in validate_avtab_key_wrapper()
Doptimize.c197 avtab_key_t key; in is_avrule_redundant()
Dkernel_to_cil.c1678 static char *avtab_node_to_str(struct policydb *pdb, avtab_key_t *key, avtab_datum_t *datum) in avtab_node_to_str()
1769 static int map_avtab_write_helper(avtab_key_t *key, avtab_datum_t *datum, void *args) in map_avtab_write_helper()
2032 avtab_key_t *key; in write_cond_av_list_to_cil()
Dkernel_to_conf.c1661 static char *avtab_node_to_str(struct policydb *pdb, avtab_key_t *key, avtab_datum_t *datum) in avtab_node_to_str()
1750 static int map_avtab_write_helper(avtab_key_t *key, avtab_datum_t *datum, void *args) in map_avtab_write_helper()
2013 avtab_key_t *key; in write_cond_av_list_to_conf()
Dservices.c915 avtab_key_t avkey; in context_struct_compute_av()
1330 avtab_key_t avkey; in sepol_compute_sid()
/third_party/selinux/checkpolicy/test/
Ddispol.c45 static int render_access_mask(uint32_t mask, avtab_key_t * key, policydb_t * p, in render_access_mask()
63 static int render_key(avtab_key_t * key, policydb_t * p, FILE * fp) in render_key()
87 static int render_av_rule(avtab_key_t * key, avtab_datum_t * datum, uint32_t what, in render_av_rule()
/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()
957 avtab_datum_t *cil_cond_av_list_search(avtab_key_t *key, cond_av_list_t *cond_list) in cil_cond_av_list_search()
976 avtab_key_t avtab_key; in __cil_insert_type_rule()
1265 avtab_key_t avtab_key; in __cil_insert_avrule()
1625 avtab_key_t *avtab_key; in __cil_avrulex_ioctl_to_policydb()
1632 avtab_key = (avtab_key_t *)k; in __cil_avrulex_ioctl_to_policydb()
1674 avtab_key_t *avtab_key; in __cil_avrulex_ioctl_to_hashtable()
4266 const avtab_key_t *k = (const avtab_key_t *)key; in avrulex_hash()
4307 const avtab_key_t *a = (const avtab_key_t *)key1; in avrulex_compare()
4308 const avtab_key_t *b = (const avtab_key_t *)key2; in avrulex_compare()
[all …]
/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()