Searched refs:sepol_cat (Results 1 – 1 of 1) sorted by relevance
125 …__cil_get_sepol_cat_datum(policydb_t *pdb, struct cil_symtab_datum *datum, cat_datum_t **sepol_cat) in __cil_get_sepol_cat_datum() argument127 *sepol_cat = hashtab_search(pdb->p_cats.table, datum->fqn); in __cil_get_sepol_cat_datum()128 if (*sepol_cat == NULL) { in __cil_get_sepol_cat_datum()797 cat_datum_t *sepol_cat = NULL; in cil_catorder_to_policydb() local801 sepol_cat = cil_malloc(sizeof(*sepol_cat)); in cil_catorder_to_policydb()802 cat_datum_init(sepol_cat); in cil_catorder_to_policydb()805 rc = symtab_insert(pdb, SYM_CATS, key, sepol_cat, SCOPE_DECL, 0, &value); in cil_catorder_to_policydb()809 sepol_cat->s.value = value; in cil_catorder_to_policydb()816 cat_datum_destroy(sepol_cat); in cil_catorder_to_policydb()817 free(sepol_cat); in cil_catorder_to_policydb()[all …]