/third_party/selinux/libsepol/include/sepol/policydb/ |
D | hashtab.h | 27 typedef void *hashtab_datum_t; /* generic datum type */ typedef 33 hashtab_datum_t datum; 67 extern int hashtab_insert(hashtab_t h, hashtab_key_t k, hashtab_datum_t d); 79 hashtab_datum_t d, 88 extern hashtab_datum_t hashtab_search(hashtab_t h, const_hashtab_key_t k); 108 hashtab_datum_t d,
|
D | conditional.h | 128 extern int cond_destroy_bool(hashtab_key_t key, hashtab_datum_t datum, void *p); 130 extern int cond_index_bool(hashtab_key_t key, hashtab_datum_t datum,
|
D | policydb.h | 639 hashtab_datum_t datum, 643 hashtab_datum_t datum, 666 extern int scope_destroy(hashtab_key_t key, hashtab_datum_t datum, void *p); 704 hashtab_key_t key, hashtab_datum_t datum,
|
/third_party/selinux/libsepol/tests/ |
D | test-common.c | 60 static int common_test_index(hashtab_key_t key, hashtab_datum_t datum, void *data) in common_test_index() 69 static int class_test_index(hashtab_key_t key, hashtab_datum_t datum, void *data) in class_test_index() 79 static int role_test_index(hashtab_key_t key, hashtab_datum_t datum, void *data) in role_test_index() 89 static int type_test_index(hashtab_key_t key, hashtab_datum_t datum, void *data) in type_test_index() 103 static int user_test_index(hashtab_key_t key, hashtab_datum_t datum, void *data) in user_test_index() 113 static int cond_test_index(hashtab_key_t key, hashtab_datum_t datum, void *data) in cond_test_index() 123 static int level_test_index(hashtab_key_t key, hashtab_datum_t datum, void *data) in level_test_index() 132 static int cat_test_index(hashtab_key_t key, hashtab_datum_t datum, void *data) in cat_test_index() 141 static int (*test_index_f[SYM_NUM]) (hashtab_key_t key, hashtab_datum_t datum, void *p) = {
|
/third_party/selinux/libsepol/src/ |
D | link.c | 124 static int permission_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in permission_copy_callback() 165 (hashtab_datum_t) new_perm); in permission_copy_callback() 245 static int class_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in class_copy_callback() 310 (hashtab_datum_t) new_class); in class_copy_callback() 348 static int role_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in role_copy_callback() 398 (hashtab_datum_t) new_role); in role_copy_callback() 438 static int type_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in type_copy_callback() 496 (hashtab_datum_t) new_type); in type_copy_callback() 533 static int user_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in user_copy_callback() 564 (hashtab_datum_t) new_user); in user_copy_callback() [all …]
|
D | hashtab.c | 104 int hashtab_insert(hashtab_t h, hashtab_key_t key, hashtab_datum_t datum) in hashtab_insert() 145 hashtab_datum_t d, void *args), void *args) in hashtab_remove() 176 hashtab_datum_t hashtab_search(hashtab_t h, const_hashtab_key_t key) in hashtab_search() 222 hashtab_datum_t d, void *args), void *args) in hashtab_map()
|
D | expand.c | 106 static int type_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in type_copy_callback() 159 (hashtab_datum_t) new_type); in type_copy_callback() 176 static int attr_convert_callback(hashtab_key_t key, hashtab_datum_t datum, in attr_convert_callback() 219 static int perm_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in perm_copy_callback() 246 ret = hashtab_insert(s->table, new_id, (hashtab_datum_t) new_perm); in perm_copy_callback() 256 static int common_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in common_copy_callback() 297 (hashtab_datum_t) new_common); in common_copy_callback() 445 static int class_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in class_copy_callback() 495 (hashtab_datum_t) new_class); in class_copy_callback() 532 static int constraint_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in constraint_copy_callback() [all …]
|
D | policydb_validate.c | 179 static int validate_scope(__attribute__ ((unused)) hashtab_key_t k, hashtab_datum_t d, void *args) in validate_scope() 361 static int validate_common_datum_wrapper(__attribute__((unused)) hashtab_key_t k, hashtab_datum_t d… in validate_common_datum_wrapper() 429 static int validate_class_datum_wrapper(__attribute__((unused)) hashtab_key_t k, hashtab_datum_t d,… in validate_class_datum_wrapper() 464 static int validate_role_datum_wrapper(__attribute__((unused)) hashtab_key_t k, hashtab_datum_t d, … in validate_role_datum_wrapper() 534 static int validate_type_datum_wrapper(__attribute__((unused)) hashtab_key_t k, hashtab_datum_t d, … in validate_type_datum_wrapper() 597 static int validate_level_datum(__attribute__ ((unused)) hashtab_key_t k, hashtab_datum_t d, void *… in validate_level_datum() 642 static int validate_user_datum_wrapper(__attribute__((unused)) hashtab_key_t k, hashtab_datum_t d, … in validate_user_datum_wrapper() 677 static int validate_bool_datum_wrapper(__attribute__((unused)) hashtab_key_t k, hashtab_datum_t d, … in validate_bool_datum_wrapper() 726 static int validate_datum(__attribute__ ((unused))hashtab_key_t k, hashtab_datum_t d, void *args) in validate_datum() 1078 static int validate_filename_trans(hashtab_key_t k, hashtab_datum_t d, void *args) in validate_filename_trans() [all …]
|
D | policydb.c | 940 __attribute__ ((unused)), hashtab_datum_t datum, in policydb_role_cache() 958 __attribute__ ((unused)), hashtab_datum_t datum, in policydb_user_cache() 1003 static int common_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) in common_index() 1019 static int class_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) in class_index() 1036 static int role_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) in role_index() 1053 static int type_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) in type_index() 1073 static int user_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) in user_index() 1091 static int sens_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) in sens_index() 1110 static int cat_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) in cat_index() 1129 static int (*index_f[SYM_NUM]) (hashtab_key_t key, hashtab_datum_t datum, [all …]
|
D | write.c | 450 static int sens_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) in sens_write() 478 static int cat_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) in cat_write() 718 static int cond_write_bool(hashtab_key_t key, hashtab_datum_t datum, void *ptr) in cond_write_bool() 921 static int perm_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) in perm_write() 946 static int common_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) in common_write() 1027 static int class_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) in class_write() 1130 static int role_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) in role_write() 1209 static int type_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) in type_write() 1287 static int user_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) in user_write() 1345 static int (*write_f[SYM_NUM]) (hashtab_key_t key, hashtab_datum_t datum, [all …]
|
D | hierarchy.c | 467 hashtab_datum_t d, void *args) in bounds_check_type_callback() 513 hashtab_datum_t d, void *args) in bounds_check_role_callback() 556 hashtab_datum_t d, void *args) in bounds_check_user_callback() 597 hashtab_datum_t d, void *args) \
|
D | util.c | 70 static int perm_name(hashtab_key_t key, hashtab_datum_t datum, void *data) in perm_name()
|
D | conditional.c | 531 int cond_destroy_bool(hashtab_key_t key, hashtab_datum_t datum, void *p in cond_destroy_bool() 540 int cond_index_bool(hashtab_key_t key, hashtab_datum_t datum, void *datap) in cond_index_bool()
|
D | users.c | 253 (hashtab_datum_t) usrdatum) < 0) in sepol_user_modify()
|
/third_party/selinux/checkpolicy/ |
D | module_compiler.h | 30 hashtab_key_t key, hashtab_datum_t datum, 44 hashtab_key_t key, hashtab_datum_t datum,
|
D | module_compiler.c | 155 static int create_symbol(uint32_t symbol_type, hashtab_key_t key, hashtab_datum_t datum, in create_symbol() 169 hashtab_datum_t s = in create_symbol() 198 hashtab_key_t key, hashtab_datum_t datum, in declare_symbol() 717 hashtab_key_t key, hashtab_datum_t datum, in require_symbol() 764 static int perm_destroy(hashtab_key_t key, hashtab_datum_t datum, void *p in perm_destroy()
|
D | checkpolicy.c | 151 static int find_perm(hashtab_key_t key, hashtab_datum_t datum, void *p) in find_perm() 369 static int check_level(hashtab_key_t key, hashtab_datum_t datum, void *arg __attribute__ ((unused))) in check_level()
|
/third_party/selinux/libsepol/cil/src/ |
D | cil_fqn.c | 46 static int __cil_fqn_qualify_decls(__attribute__((unused)) hashtab_key_t k, hashtab_datum_t d, void… in __cil_fqn_qualify_decls() 72 static int __cil_fqn_qualify_blocks(__attribute__((unused)) hashtab_key_t k, hashtab_datum_t d, voi… in __cil_fqn_qualify_blocks()
|
D | cil_symtab.c | 90 int rc = hashtab_insert(symtab->table, key, (hashtab_datum_t)datum); in cil_symtab_insert() 130 int (*apply) (hashtab_key_t k, hashtab_datum_t d, void *args), in cil_symtab_map() 136 static int __cil_symtab_destroy_helper(__attribute__((unused)) hashtab_key_t k, hashtab_datum_t d, … in __cil_symtab_destroy_helper()
|
D | cil_symtab.h | 81 int (*apply) (hashtab_key_t k, hashtab_datum_t d, void *args),
|
D | cil_strpool.c | 90 static int cil_strpool_entry_destroy(hashtab_key_t k __attribute__ ((unused)), hashtab_datum_t d, v… in cil_strpool_entry_destroy()
|
D | cil_binary.c | 1703 static int __cil_avrulex_ioctl_to_policydb(hashtab_key_t k, hashtab_datum_t datum, void *args) in __cil_avrulex_ioctl_to_policydb() 1959 static int __cil_avrulex_ioctl_destroy(hashtab_key_t k, hashtab_datum_t datum, __attribute__((unuse… in __cil_avrulex_ioctl_destroy() 4101 static int __cil_common_val_array_insert(hashtab_key_t key, hashtab_datum_t datum, void *data) in __cil_common_val_array_insert() 4114 static int __cil_class_val_array_insert(hashtab_key_t key, hashtab_datum_t datum, void *data) in __cil_class_val_array_insert() 4128 static int __cil_role_val_array_insert(hashtab_key_t key, hashtab_datum_t datum, void *data) in __cil_role_val_array_insert() 4142 static int __cil_type_val_array_insert(hashtab_key_t key, hashtab_datum_t datum, void *data) in __cil_type_val_array_insert() 4156 static int __cil_user_val_array_insert(hashtab_key_t key, hashtab_datum_t datum, void *data) in __cil_user_val_array_insert() 4170 static int __cil_bool_val_array_insert(hashtab_key_t key, hashtab_datum_t datum, void *data) in __cil_bool_val_array_insert() 4184 static int __cil_level_val_array_insert(hashtab_key_t key, hashtab_datum_t datum, void *data) in __cil_level_val_array_insert() 4197 static int __cil_cat_val_array_insert(hashtab_key_t key, hashtab_datum_t datum, void *data) in __cil_cat_val_array_insert()
|
D | cil_find.c | 246 static int __add_classes_from_map_perms(__attribute__((unused)) hashtab_key_t k, hashtab_datum_t d,… in __add_classes_from_map_perms()
|
D | cil_reset_ast.c | 14 static int __class_reset_perm_values(__attribute__((unused)) hashtab_key_t k, hashtab_datum_t d, vo… in __class_reset_perm_values()
|
/third_party/selinux/checkpolicy/test/ |
D | dismod.c | 316 static int display_type_callback(hashtab_key_t key, hashtab_datum_t datum, void *data) in display_type_callback() 521 hashtab_datum_t datum, void *data) in role_display_callback()
|