Home
last modified time | relevance | path

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

/external/selinux/libsepol/cil/src/
Dcil_binary.c132 …__cil_get_sepol_cat_datum(policydb_t *pdb, struct cil_symtab_datum *datum, cat_datum_t **sepol_cat) in __cil_get_sepol_cat_datum() argument
134 *sepol_cat = hashtab_search(pdb->p_cats.table, datum->fqn); in __cil_get_sepol_cat_datum()
135 if (*sepol_cat == NULL) { in __cil_get_sepol_cat_datum()
812 cat_datum_t *sepol_cat = NULL; in cil_catorder_to_policydb() local
816 sepol_cat = cil_malloc(sizeof(*sepol_cat)); in cil_catorder_to_policydb()
817 cat_datum_init(sepol_cat); in cil_catorder_to_policydb()
820 rc = symtab_insert(pdb, SYM_CATS, key, sepol_cat, SCOPE_DECL, 0, &value); in cil_catorder_to_policydb()
824 sepol_cat->s.value = value; in cil_catorder_to_policydb()
831 cat_datum_destroy(sepol_cat); in cil_catorder_to_policydb()
832 free(sepol_cat); in cil_catorder_to_policydb()
[all …]