/third_party/selinux/libsepol/include/sepol/policydb/ |
D | avtab.h | 71 } 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);
|
D | conditional.h | 116 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/ |
D | avtab.c | 93 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()
|
D | assertion.c | 144 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()
|
D | hierarchy.c | 43 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()
|
D | conditional.c | 622 __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()
|
D | expand.c | 1597 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()
|
D | policydb_validate.c | 382 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()
|
D | optimize.c | 197 avtab_key_t key; in is_avrule_redundant()
|
D | kernel_to_cil.c | 1678 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()
|
D | kernel_to_conf.c | 1661 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()
|
D | services.c | 915 avtab_key_t avkey; in context_struct_compute_av() 1330 avtab_key_t avkey; in sepol_compute_sid()
|
/third_party/selinux/checkpolicy/test/ |
D | dispol.c | 45 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/ |
D | cil_binary.c | 922 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/ |
D | checkpolicy.c | 167 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()
|