Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Dmls.c338 cat_datum_t *catdatum, *rngdatum; in mls_context_to_sid()
384 (cat_datum_t *) hashtab_search(policydb-> in mls_context_to_sid()
400 rngdatum = (cat_datum_t *) in mls_context_to_sid()
558 cat_datum_t *catdatum; in mls_convert_context()
587 (cat_datum_t *) hashtab_search(newp->p_cats. in mls_convert_context()
Dpolicydb.c556 void cat_datum_init(cat_datum_t * x) in cat_datum_init()
558 memset(x, 0, sizeof(cat_datum_t)); in cat_datum_init()
561 void cat_datum_destroy(cat_datum_t * x __attribute__ ((unused))) in cat_datum_destroy()
1076 cat_datum_t *catdatum; in cat_index()
1078 catdatum = (cat_datum_t *) datum; in cat_index()
1378 cat_datum_destroy((cat_datum_t *) datum); in cat_destroy()
3253 cat_datum_t *catdatum; in cat_read()
3257 catdatum = malloc(sizeof(cat_datum_t)); in cat_read()
Dexpand.c1184 cat_datum_t *cat = (cat_datum_t *) datum, *new_cat = NULL; in cats_copy_callback()
1195 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.c476 cat_datum_t *catdatum; in cat_write()
482 catdatum = (cat_datum_t *) datum; in cat_write()
Dkernel_to_conf.c872 cat_datum_t *cat = data; in map_category_aliases_to_strs()
885 cat_datum_t *cat; in write_category_rules_to_conf()
Dkernel_to_cil.c886 cat_datum_t *cat = data; in map_category_aliases_to_strs()
899 cat_datum_t *cat; in write_category_rules_to_cil()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h225 } cat_datum_t; typedef
681 extern void cat_datum_init(cat_datum_t * x);
682 extern void cat_datum_destroy(cat_datum_t * x);
/external/selinux/libsepol/tests/
Dtest-common.c131 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()
4196 cat_datum_t *cdatum; in parse_categories()
4205 cdatum = (cat_datum_t *) hashtab_search(policydbp->p_cats.table, in parse_categories()
4213 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.c132 static int __cil_get_sepol_cat_datum(policydb_t *pdb, struct cil_symtab_datum *datum, cat_datum_t *… in __cil_get_sepol_cat_datum()
812 cat_datum_t *sepol_cat = NULL; in cil_catorder_to_policydb()
840 cat_datum_t *sepol_cat; in cil_catalias_to_policydb()
841 cat_datum_t *sepol_alias = cil_malloc(sizeof(*sepol_cat)); in cil_catalias_to_policydb()
2921 cat_datum_t *sepol_cat = NULL; in __cil_cats_to_mls_level()
4066 cat_datum_t *cat = (cat_datum_t *)datum; in __cil_cat_val_array_insert()