Searched refs:class_datum_t (Results 1 – 14 of 14) sorted by relevance
/external/selinux/libsepol/src/ |
D | avrule_block.c | 179 class_datum_t *cladatum; in is_perm_enabled() 185 (class_datum_t *) hashtab_search(p->p_classes.table, class_id); in is_perm_enabled()
|
D | link.c | 64 class_datum_t *src_class, *dest_class; 130 class_datum_t *src_class = state->src_class; in permission_copy_callback() 131 class_datum_t *dest_class = state->dest_class; in permission_copy_callback() 209 class_datum_t *olddatum, in class_copy_default_new_object() 210 class_datum_t *newdatum) in class_copy_default_new_object() 247 class_datum_t *cladatum, *new_class = NULL; in class_copy_callback() 252 cladatum = (class_datum_t *) datum; in class_copy_callback() 288 (class_datum_t *) calloc(1, sizeof(class_datum_t)); in class_copy_callback() 2029 class_datum_t *cladatum; in is_decl_requires_met() 2098 class_datum_t *cladatum; in debug_requirements() [all …]
|
D | services.c | 843 class_datum_t *tclass_datum; in context_struct_compute_av() 960 class_datum_t *tclass_datum; in sepol_validate_transition() 1013 class_datum_t *tclass_datum; in sepol_validate_transition_reason_buffer() 1179 class_datum_t *tclass_datum; in sepol_string_to_av_perm() 1489 class_datum_t *cladatum, *cladatum2; in validate_class() 1492 cladatum = (class_datum_t *) datum; in validate_class() 1495 (class_datum_t *) hashtab_search(newp->p_classes.table, key); in validate_class()
|
D | util.c | 86 class_datum_t *cladatum; in sepol_av_to_string()
|
D | expand.c | 375 class_datum_t *olddatum, in class_copy_default_new_object() 376 class_datum_t *newdatum) in class_copy_default_new_object() 415 class_datum_t *class, *new_class; in class_copy_callback() 419 class = (class_datum_t *) datum; in class_copy_callback() 430 new_class = (class_datum_t *) malloc(sizeof(class_datum_t)); in class_copy_callback() 435 memset(new_class, 0, sizeof(class_datum_t)); in class_copy_callback() 501 class_datum_t *class, *new_class; in constraint_copy_callback() 505 class = (class_datum_t *) datum; in constraint_copy_callback()
|
D | policydb.c | 860 class_datum_t *cladatum; in class_index() 862 cladatum = (class_datum_t *) datum; in class_index() 979 p->class_val_to_struct = (class_datum_t **) in policydb_index_classes() 980 malloc(p->p_classes.nprim * sizeof(class_datum_t *)); in policydb_index_classes() 1144 class_datum_t *cladatum; in class_destroy() 1150 cladatum = (class_datum_t *) datum; in class_destroy() 2080 class_datum_t *cladatum; in class_read() 2086 cladatum = (class_datum_t *) calloc(1, sizeof(class_datum_t)); in class_read()
|
D | write.c | 948 class_datum_t *cladatum; in class_write() 956 cladatum = (class_datum_t *) datum; in class_write()
|
/external/selinux/checkpolicy/ |
D | checkpolicy.c | 385 class_datum_t *cladatum; in main() 714 (class_datum_t *) hashtab_search(policydb. in main() 828 (class_datum_t *) hashtab_search(policydb. in main() 1023 (class_datum_t *) hashtab_search(policydb. in main() 1121 (class_datum_t *) hashtab_search(policydb. in main() 1174 (class_datum_t *) hashtab_search(policydb. in main()
|
D | policy_define.c | 149 class_datum_t *datum = 0; in define_class() 164 datum = (class_datum_t *) malloc(sizeof(class_datum_t)); in define_class() 169 memset(datum, 0, sizeof(class_datum_t)); in define_class() 338 class_datum_t *cladatum; in read_classes() 362 class_datum_t *cladatum; in define_default_user() 394 class_datum_t *cladatum; in define_default_role() 426 class_datum_t *cladatum; in define_default_type() 458 class_datum_t *cladatum; in define_default_range() 583 class_datum_t *cladatum; in define_av_perms() 599 cladatum = (class_datum_t *) hashtab_search(policydbp->p_classes.table, in define_av_perms() [all …]
|
D | module_compiler.c | 732 static void class_datum_destroy(class_datum_t * cladatum) in class_datum_destroy() 745 class_datum_t *datum = NULL; in require_class() 1297 class_datum_t *cladatum = in is_perm_in_scope() 1298 (class_datum_t *) hashtab_search(policydbp->p_classes.table, in is_perm_in_scope()
|
/external/selinux/libsepol/tests/ |
D | test-common.c | 68 class_datum_t *d = (class_datum_t *) datum; in class_test_index()
|
/external/selinux/libsepol/cil/src/ |
D | cil_binary.c | 114 …get_sepol_class_datum(policydb_t *pdb, struct cil_symtab_datum *datum, class_datum_t **sepol_class) in __cil_get_sepol_class_datum() 301 class_datum_t *sepol_class = cil_malloc(sizeof(*sepol_class)); in cil_classorder_to_policydb() 302 memset(sepol_class, 0, sizeof(class_datum_t)); in cil_classorder_to_policydb() 1061 class_datum_t *sepol_obj = NULL; in __cil_type_rule_to_avtab() 1121 class_datum_t *sepol_obj = NULL; in __cil_typetransition_to_avtab() 1221 int __perm_str_to_datum(char *perm_str, class_datum_t *sepol_class, uint32_t *datum) in __perm_str_to_datum() 1245 int __cil_perms_to_datum(struct cil_list *perms, class_datum_t *sepol_class, uint32_t *datum) in __cil_perms_to_datum() 1323 class_datum_t *sepol_class = NULL; in __cil_avrule_expand_helper() 1560 class_datum_t *sepol_obj; in __cil_avrulex_ioctl_to_policydb() 1670 class_datum_t *sepol_obj = NULL; in __cil_avrulex_to_hashtable_helper() [all …]
|
/external/selinux/libsepol/include/sepol/policydb/ |
D | policydb.h | 130 } class_datum_t; typedef 525 class_datum_t **class_val_to_struct;
|
/external/selinux/policycoreutils/sepolgen-ifgen/ |
D | sepolgen-ifgen-attr-helper.c | 60 class_datum_t *cladatum; in render_access_mask()
|