Home
last modified time | relevance | path

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

/third_party/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.c598 void cat_datum_init(cat_datum_t * x) in cat_datum_init()
600 memset(x, 0, sizeof(cat_datum_t)); in cat_datum_init()
603 void cat_datum_destroy(cat_datum_t * x __attribute__ ((unused))) in cat_datum_destroy()
1113 cat_datum_t *catdatum; in cat_index()
1115 catdatum = (cat_datum_t *) datum; in cat_index()
1405 cat_datum_destroy((cat_datum_t *) datum); in cat_destroy()
3465 cat_datum_t *catdatum; in cat_read()
3469 catdatum = malloc(sizeof(cat_datum_t)); in cat_read()
Dexpand.c1219 cat_datum_t *cat = (cat_datum_t *) datum, *new_cat = NULL; in cats_copy_callback()
1230 new_cat = (cat_datum_t *) malloc(sizeof(cat_datum_t)); in cats_copy_callback()
Dkernel_to_cil.c917 cat_datum_t *cat = data; in map_count_category_aliases()
928 cat_datum_t *cat = data; in map_category_aliases_to_strs()
941 cat_datum_t *cat; in write_category_rules_to_cil()
Dlink.c715 cat_datum_t *cat, *base_cat; in cat_copy_callback()
719 cat = (cat_datum_t *) datum; in cat_copy_callback()
Dkernel_to_conf.c913 cat_datum_t *cat = data; in map_category_aliases_to_strs()
926 cat_datum_t *cat; in write_category_rules_to_conf()
Dwrite.c480 cat_datum_t *catdatum; in cat_write()
486 catdatum = (cat_datum_t *) datum; in cat_write()
/third_party/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h227 } cat_datum_t; typedef
697 extern void cat_datum_init(cat_datum_t * x);
698 extern void cat_datum_destroy(cat_datum_t * x);
/third_party/selinux/libsepol/tests/
Dtest-common.c134 cat_datum_t *d = (cat_datum_t *) datum; in cat_test_index()
/third_party/selinux/checkpolicy/
Dpolicy_define.c884 cat_datum_t *datum = 0, *aliasdatum = 0; in define_category()
908 datum = (cat_datum_t *) malloc(sizeof(cat_datum_t)); in define_category()
945 aliasdatum = (cat_datum_t *) malloc(sizeof(cat_datum_t)); in define_category()
1063 cat_datum_t *cdatum; in define_level()
1073 (cat_datum_t *) hashtab_search(policydbp->p_cats. in define_level()
1084 (cat_datum_t *) hashtab_search(policydbp->p_cats. in define_level()
1102 (cat_datum_t *) hashtab_search(policydbp->p_cats. in define_level()
4177 cat_datum_t *cdatum; in parse_categories()
4186 cdatum = (cat_datum_t *) hashtab_search(policydbp->p_cats.table, in parse_categories()
4194 cdatum = (cat_datum_t *) hashtab_search(policydbp->p_cats.table, in parse_categories()
[all …]
Dmodule_compiler.c1083 cat_datum_t *cat = NULL; in require_cat()
1093 cat = malloc(sizeof(cat_datum_t)); in require_cat()
/third_party/selinux/libsepol/cil/src/
Dcil_binary.c123 static int __cil_get_sepol_cat_datum(policydb_t *pdb, struct cil_symtab_datum *datum, cat_datum_t *… in __cil_get_sepol_cat_datum()
795 cat_datum_t *sepol_cat = NULL; in cil_catorder_to_policydb()
823 cat_datum_t *sepol_cat; in cil_catalias_to_policydb()
824 cat_datum_t *sepol_alias = cil_malloc(sizeof(*sepol_cat)); in cil_catalias_to_policydb()
3031 cat_datum_t *sepol_cat = NULL; in __cil_cats_to_mls_level()
4200 cat_datum_t *cat = (cat_datum_t *)datum; in __cil_cat_val_array_insert()