Home
last modified time | relevance | path

Searched refs:cat_datum_t (Results 1 – 12 of 12) sorted by relevance

/external/selinux/libsepol/src/
Dmls.c336 cat_datum_t *catdatum, *rngdatum; in mls_context_to_sid()
382 (cat_datum_t *) hashtab_search(policydb-> in mls_context_to_sid()
398 rngdatum = (cat_datum_t *) in mls_context_to_sid()
556 cat_datum_t *catdatum; in mls_convert_context()
584 (cat_datum_t *) hashtab_search(newp->p_cats. in mls_convert_context()
Dpolicydb.c578 void cat_datum_init(cat_datum_t * x) in cat_datum_init()
580 memset(x, 0, sizeof(cat_datum_t)); in cat_datum_init()
583 void cat_datum_destroy(cat_datum_t * x __attribute__ ((unused))) in cat_datum_destroy()
1098 cat_datum_t *catdatum; in cat_index()
1100 catdatum = (cat_datum_t *) datum; in cat_index()
1400 cat_datum_destroy((cat_datum_t *) datum); in cat_destroy()
3271 cat_datum_t *catdatum; in cat_read()
3275 catdatum = malloc(sizeof(cat_datum_t)); in cat_read()
Dexpand.c1180 cat_datum_t *cat = (cat_datum_t *) datum, *new_cat = NULL; in cats_copy_callback()
1191 new_cat = (cat_datum_t *) malloc(sizeof(cat_datum_t)); in cats_copy_callback()
Dlink.c713 cat_datum_t *cat, *base_cat; in cat_copy_callback()
717 cat = (cat_datum_t *) datum; in cat_copy_callback()
Dwrite.c481 cat_datum_t *catdatum; in cat_write()
487 catdatum = (cat_datum_t *) datum; in cat_write()
Dkernel_to_conf.c887 cat_datum_t *cat = data; in map_category_aliases_to_strs()
900 cat_datum_t *cat; in write_category_rules_to_conf()
Dkernel_to_cil.c893 cat_datum_t *cat = data; in map_category_aliases_to_strs()
906 cat_datum_t *cat; in write_category_rules_to_cil()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h226 } cat_datum_t; typedef
684 extern void cat_datum_init(cat_datum_t * x);
685 extern void cat_datum_destroy(cat_datum_t * x);
/external/selinux/libsepol/tests/
Dtest-common.c133 cat_datum_t *d = (cat_datum_t *) datum; in cat_test_index()
/external/selinux/checkpolicy/
Dpolicy_define.c889 cat_datum_t *datum = 0, *aliasdatum = 0; in define_category()
913 datum = (cat_datum_t *) malloc(sizeof(cat_datum_t)); in define_category()
950 aliasdatum = (cat_datum_t *) malloc(sizeof(cat_datum_t)); in define_category()
1068 cat_datum_t *cdatum; in define_level()
1078 (cat_datum_t *) hashtab_search(policydbp->p_cats. in define_level()
1089 (cat_datum_t *) hashtab_search(policydbp->p_cats. in define_level()
1107 (cat_datum_t *) hashtab_search(policydbp->p_cats. in define_level()
4161 cat_datum_t *cdatum; in parse_categories()
4170 cdatum = (cat_datum_t *) hashtab_search(policydbp->p_cats.table, in parse_categories()
4178 cdatum = (cat_datum_t *) hashtab_search(policydbp->p_cats.table, in parse_categories()
[all …]
Dmodule_compiler.c1074 cat_datum_t *cat = NULL; in require_cat()
1084 cat = malloc(sizeof(cat_datum_t)); in require_cat()
/external/selinux/libsepol/cil/src/
Dcil_binary.c127 static int __cil_get_sepol_cat_datum(policydb_t *pdb, struct cil_symtab_datum *datum, cat_datum_t *… in __cil_get_sepol_cat_datum()
799 cat_datum_t *sepol_cat = NULL; in cil_catorder_to_policydb()
827 cat_datum_t *sepol_cat; in cil_catalias_to_policydb()
828 cat_datum_t *sepol_alias = cil_malloc(sizeof(*sepol_cat)); in cil_catalias_to_policydb()
2858 cat_datum_t *sepol_cat = NULL; in __cil_cats_to_mls_level()
3981 cat_datum_t *cat = (cat_datum_t *)datum; in __cil_cat_val_array_insert()