/external/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,
|
/external/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() 585 static int avtab_insertf(avtab_t * a, avtab_key_t * k, avtab_datum_t * d, in avtab_insertf()
|
D | assertion.c | 149 avtab_key_t *k, avtab_t *avtab) in report_assertion_extended_permissions() 152 avtab_key_t tmp_key; in report_assertion_extended_permissions() 163 memcpy(&tmp_key, k, sizeof(avtab_key_t)); in report_assertion_extended_permissions() 212 static int report_assertion_avtab_matches(avtab_key_t *k, avtab_datum_t *d, void *args) in report_assertion_avtab_matches() 326 avtab_key_t *k, policydb_t *p) in check_assertion_extended_permissions_avtab() 329 avtab_key_t tmp_key; in check_assertion_extended_permissions_avtab() 338 memcpy(&tmp_key, k, sizeof(avtab_key_t)); in check_assertion_extended_permissions_avtab() 380 avtab_key_t *k, policydb_t *p) in check_assertion_extended_permissions() 445 static int check_assertion_self_match(avtab_key_t *k, avrule_t *avrule, policydb_t *p) in check_assertion_self_match() 471 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 | 620 __attribute__ ((unused)), avtab_key_t * k, in cond_insertf() 861 void cond_compute_av(avtab_t * ctab, avtab_key_t * key, in cond_compute_av() 889 avtab_datum_t *cond_av_list_search(avtab_key_t * key, in cond_av_list_search()
|
D | expand.c | 1622 avtab_t * avtab, avtab_key_t * key, in find_avtab_node() 1710 avtab_key_t avkey; in expand_terule_helper() 1842 avtab_key_t avkey; 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() 3282 static int expand_avtab_node(avtab_key_t * k, avtab_datum_t * d, void *args) in expand_avtab_node() 3293 avtab_key_t newkey; in expand_avtab_node() 3358 avtab_key_t * k, avtab_datum_t * d) in expand_cond_insert() 3407 avtab_key_t *k = &node->key; in expand_cond_av_node() 3415 avtab_key_t newkey; in expand_cond_av_node()
|
D | optimize.c | 206 avtab_key_t key; in is_avrule_redundant()
|
D | policydb_validate.c | 773 static int validate_avtab_key(const avtab_key_t *key, int conditional, const policydb_t *p, validat… in validate_avtab_key() 828 static int validate_avtab_key_and_datum(avtab_key_t *k, avtab_datum_t *d, void *args) in validate_avtab_key_and_datum()
|
D | kernel_to_conf.c | 1682 static char *avtab_node_to_str(struct policydb *pdb, avtab_key_t *key, avtab_datum_t *datum) in avtab_node_to_str() 1771 static int map_avtab_write_helper(avtab_key_t *key, avtab_datum_t *datum, void *args) in map_avtab_write_helper() 2034 avtab_key_t *key; in write_cond_av_list_to_conf()
|
D | services.c | 916 avtab_key_t avkey; in context_struct_compute_av() 1337 avtab_key_t avkey; in sepol_compute_sid()
|
D | kernel_to_cil.c | 1704 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() 2058 avtab_key_t *key; in write_cond_av_list_to_cil()
|
/external/selinux/python/audit2allow/ |
D | sepolgen-ifgen-attr-helper.c | 59 static int render_access_mask(uint32_t av, avtab_key_t *key, policydb_t *policydbp, in render_access_mask() 91 static int render_key(avtab_key_t *key, policydb_t *p, FILE *fp) in render_key() 114 static int output_avrule(avtab_key_t *key, avtab_datum_t *datum, void *args) in output_avrule()
|
/external/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()
|
/external/selinux/libsepol/cil/src/ |
D | cil_binary.c | 922 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() 976 avtab_key_t avtab_key; in __cil_insert_type_rule() 1347 avtab_key_t avtab_key; in __cil_insert_avrule() 1707 avtab_key_t *avtab_key; in __cil_avrulex_ioctl_to_policydb() 1714 avtab_key = (avtab_key_t *)k; in __cil_avrulex_ioctl_to_policydb() 1756 avtab_key_t *avtab_key; in __cil_avrulex_ioctl_to_hashtable() 4400 const avtab_key_t *k = (const avtab_key_t *)key; in avrulex_hash() 4441 const avtab_key_t *a = (const avtab_key_t *)key1; in avrulex_compare() 4442 const avtab_key_t *b = (const avtab_key_t *)key2; in avrulex_compare() [all …]
|
/external/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()
|