Searched refs:sepol_cat (Results 1 – 1 of 1) sorted by relevance
148 …__cil_get_sepol_cat_datum(policydb_t *pdb, struct cil_symtab_datum *datum, cat_datum_t **sepol_cat) in __cil_get_sepol_cat_datum() argument150 *sepol_cat = hashtab_search(pdb->p_cats.table, datum->fqn); in __cil_get_sepol_cat_datum()151 if (*sepol_cat == NULL) { in __cil_get_sepol_cat_datum()823 cat_datum_t *sepol_cat = NULL; in cil_catorder_to_policydb() local827 sepol_cat = cil_malloc(sizeof(*sepol_cat)); in cil_catorder_to_policydb()828 cat_datum_init(sepol_cat); in cil_catorder_to_policydb()831 rc = symtab_insert(pdb, SYM_CATS, key, sepol_cat, SCOPE_DECL, 0, &value); in cil_catorder_to_policydb()835 sepol_cat->s.value = value; in cil_catorder_to_policydb()842 cat_datum_destroy(sepol_cat); in cil_catorder_to_policydb()843 free(sepol_cat); in cil_catorder_to_policydb()[all …]