/third_party/selinux/libsepol/include/sepol/policydb/ |
D | hashtab.h | 45 typedef hashtab_val_t *hashtab_t; typedef 53 extern hashtab_t hashtab_create(unsigned int (*hash_value) (hashtab_t h, 56 int (*keycmp) (hashtab_t h, 67 extern int hashtab_insert(hashtab_t h, hashtab_key_t k, hashtab_datum_t d); 77 extern int hashtab_remove(hashtab_t h, hashtab_key_t k, 88 extern hashtab_datum_t hashtab_search(hashtab_t h, const_hashtab_key_t k); 93 extern void hashtab_destroy(hashtab_t h); 106 extern int hashtab_map(hashtab_t h, 111 extern void hashtab_hash_eval(hashtab_t h, char *tag);
|
D | symtab.h | 34 hashtab_t table; /* hash table (keyed on a string) */
|
D | conditional.h | 133 extern int cond_read_bool(policydb_t * p, hashtab_t h, struct policy_file *fp);
|
D | policydb.h | 592 hashtab_t range_tr; 595 hashtab_t filename_trans;
|
/third_party/selinux/libsepol/src/ |
D | hashtab.c | 37 hashtab_t hashtab_create(unsigned int (*hash_value) (hashtab_t h, in hashtab_create() 39 int (*keycmp) (hashtab_t h, in hashtab_create() 45 hashtab_t p; in hashtab_create() 47 p = (hashtab_t) malloc(sizeof(hashtab_val_t)); in hashtab_create() 65 static void hashtab_check_resize(hashtab_t h) in hashtab_check_resize() 104 int hashtab_insert(hashtab_t h, hashtab_key_t key, hashtab_datum_t datum) in hashtab_insert() 143 int hashtab_remove(hashtab_t h, hashtab_key_t key, in hashtab_remove() 176 hashtab_datum_t hashtab_search(hashtab_t h, const_hashtab_key_t key) in hashtab_search() 196 void hashtab_destroy(hashtab_t h) in hashtab_destroy() 220 int hashtab_map(hashtab_t h, in hashtab_map() [all …]
|
D | symtab.c | 18 static unsigned int symhash(hashtab_t h, const_hashtab_key_t key) in symhash() 33 static int symcmp(hashtab_t h in symcmp()
|
D | policydb.c | 812 static unsigned int filenametr_hash(hashtab_t h, const_hashtab_key_t k) in filenametr_hash() 827 static int filenametr_cmp(hashtab_t h __attribute__ ((unused)), in filenametr_cmp() 846 static unsigned int rangetr_hash(hashtab_t h, const_hashtab_key_t k) in rangetr_hash() 853 static int rangetr_cmp(hashtab_t h __attribute__ ((unused)), in rangetr_cmp() 2059 __attribute__ ((unused)), hashtab_t h, in perm_read() 2094 static int common_read(policydb_t * p, hashtab_t h, struct policy_file *fp) in common_read() 2242 static int class_read(policydb_t * p, hashtab_t h, struct policy_file *fp) in class_read() 2353 static int role_read(policydb_t * p, hashtab_t h, struct policy_file *fp) in role_read() 2432 static int type_read(policydb_t * p, hashtab_t h, struct policy_file *fp) in type_read() 3328 static int user_read(policydb_t * p, hashtab_t h, struct policy_file *fp) in user_read() [all …]
|
D | conditional.c | 568 hashtab_t h, in cond_read_bool()
|
D | services.c | 1509 hashtab_t h; in validate_perm() 1512 h = (hashtab_t) p; in validate_perm()
|
D | policydb_validate.c | 1008 static int validate_filename_trans_hashtab(sepol_handle_t *handle, hashtab_t filename_trans, valida… in validate_filename_trans_hashtab()
|
D | link.c | 1098 hashtab_t role_tab; in role_fix_callback()
|
D | module_to_cil.c | 310 static int role_list_create(hashtab_t roles_tab) in role_list_create()
|
/third_party/selinux/libsepol/cil/src/ |
D | cil_strpool.c | 46 static hashtab_t cil_strpool_tab = NULL; 48 static unsigned int cil_strpool_hash(hashtab_t h, const_hashtab_key_t key) in cil_strpool_hash() 62 static int cil_strpool_compare(hashtab_t h __attribute__ ((unused)), const_hashtab_key_t key1, cons… in cil_strpool_compare()
|
D | cil_binary.h | 276 …_t *pdb, const struct cil_db *db, struct cil_roletransition *roletrans, hashtab_t role_trans_table…
|
D | cil_binary.c | 67 hashtab_t role_trans_table; 68 hashtab_t avrulex_ioctl_table; 1753 static int __cil_avrulex_ioctl_to_hashtable(hashtab_t h, uint16_t kind, uint32_t src, uint32_t tgt,… in __cil_avrulex_ioctl_to_hashtable() 2414 …_t *pdb, const struct cil_db *db, struct cil_roletransition *roletrans, hashtab_t role_trans_table) in cil_roletrans_to_policydb() 3828 hashtab_t role_trans_table; in __cil_node_to_policydb() 4378 static unsigned int role_trans_hash(hashtab_t h, const_hashtab_key_t key) in role_trans_hash() 4385 static int role_trans_compare(hashtab_t h in role_trans_compare() 4398 static unsigned int avrulex_hash(__attribute__((unused)) hashtab_t h, const_hashtab_key_t key) in avrulex_hash() 4437 static int avrulex_compare(hashtab_t h in avrulex_compare() 5051 hashtab_t role_trans_table = NULL; in cil_binary_create_allocated_pdb() [all …]
|
/third_party/selinux/checkpolicy/ |
D | module_compiler.c | 216 static int role_implicit_bounds(hashtab_t roles_tab, in role_implicit_bounds() 321 hashtab_t roles_tab; in declare_role() 461 static int user_implicit_bounds(hashtab_t users_tab, in user_implicit_bounds() 555 hashtab_t users_tab; in declare_user() 624 hashtab_t types_tab; in get_local_type() 670 hashtab_t roles_tab; in get_local_role()
|