Home
last modified time | relevance | path

Searched refs:class_datum_t (Results 1 – 13 of 13) sorted by relevance

/external/libsepol/src/
Davrule_block.c179 class_datum_t *cladatum; in is_perm_enabled()
185 (class_datum_t *) hashtab_search(p->p_classes.table, class_id); in is_perm_enabled()
Dutil.c82 class_datum_t *cladatum; in sepol_av_to_string()
Dlink.c64 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()
2028 class_datum_t *cladatum; in is_decl_requires_met()
2097 class_datum_t *cladatum; in debug_requirements()
[all …]
Dservices.c829 class_datum_t *tclass_datum; in context_struct_compute_av()
946 class_datum_t *tclass_datum; in sepol_validate_transition()
1103 class_datum_t *tclass_datum; in sepol_string_to_av_perm()
1413 class_datum_t *cladatum, *cladatum2; in validate_class()
1416 cladatum = (class_datum_t *) datum; in validate_class()
1419 (class_datum_t *) hashtab_search(newp->p_classes.table, key); in validate_class()
Dexpand.c451 class_datum_t *olddatum, in class_copy_default_new_object()
452 class_datum_t *newdatum) in class_copy_default_new_object()
491 class_datum_t *class, *new_class; in class_copy_callback()
495 class = (class_datum_t *) datum; in class_copy_callback()
506 new_class = (class_datum_t *) malloc(sizeof(class_datum_t)); in class_copy_callback()
511 memset(new_class, 0, sizeof(class_datum_t)); in class_copy_callback()
577 class_datum_t *class, *new_class; in constraint_copy_callback()
581 class = (class_datum_t *) datum; in constraint_copy_callback()
Dpolicydb.c846 class_datum_t *cladatum; in class_index()
848 cladatum = (class_datum_t *) datum; in class_index()
965 p->class_val_to_struct = (class_datum_t **) in policydb_index_classes()
966 malloc(p->p_classes.nprim * sizeof(class_datum_t *)); in policydb_index_classes()
1130 class_datum_t *cladatum; in class_destroy()
1136 cladatum = (class_datum_t *) datum; in class_destroy()
2066 class_datum_t *cladatum; in class_read()
2072 cladatum = (class_datum_t *) calloc(1, sizeof(class_datum_t)); in class_read()
Dwrite.c915 class_datum_t *cladatum; in class_write()
923 cladatum = (class_datum_t *) datum; in class_write()
/external/checkpolicy/
Dpolicy_define.c146 class_datum_t *datum = 0; in define_class()
161 datum = (class_datum_t *) malloc(sizeof(class_datum_t)); in define_class()
166 memset(datum, 0, sizeof(class_datum_t)); in define_class()
335 class_datum_t *cladatum; in read_classes()
359 class_datum_t *cladatum; in define_default_user()
391 class_datum_t *cladatum; in define_default_role()
423 class_datum_t *cladatum; in define_default_type()
455 class_datum_t *cladatum; in define_default_range()
580 class_datum_t *cladatum; in define_av_perms()
596 cladatum = (class_datum_t *) hashtab_search(policydbp->p_classes.table, in define_av_perms()
[all …]
Dcheckpolicy.c383 class_datum_t *cladatum; in main()
679 (class_datum_t *) hashtab_search(policydb. in main()
793 (class_datum_t *) hashtab_search(policydb. in main()
988 (class_datum_t *) hashtab_search(policydb. in main()
Dmodule_compiler.c731 static void class_datum_destroy(class_datum_t * cladatum) in class_datum_destroy()
744 class_datum_t *datum = NULL; in require_class()
1296 class_datum_t *cladatum = in is_perm_in_scope()
1297 (class_datum_t *) hashtab_search(policydbp->p_classes.table, in is_perm_in_scope()
/external/libsepol/tests/
Dtest-common.c68 class_datum_t *d = (class_datum_t *) datum; in class_test_index()
/external/libsepol/include/sepol/policydb/
Dpolicydb.h128 } class_datum_t; typedef
501 class_datum_t **class_val_to_struct;
/external/sepolicy/tools/
Dsepolicy-check.c119 class_datum_t *cls = NULL; in check_rule()