Searched refs:sepol_level (Results 1 – 1 of 1) sorted by relevance
136 …get_sepol_level_datum(policydb_t *pdb, struct cil_symtab_datum *datum, level_datum_t **sepol_level) in __cil_get_sepol_level_datum() argument138 *sepol_level = hashtab_search(pdb->p_levels.table, datum->fqn); in __cil_get_sepol_level_datum()139 if (*sepol_level == NULL) { in __cil_get_sepol_level_datum()857 level_datum_t *sepol_level = NULL; in cil_sensitivityorder_to_policydb() local862 sepol_level = cil_malloc(sizeof(*sepol_level)); in cil_sensitivityorder_to_policydb()864 level_datum_init(sepol_level); in cil_sensitivityorder_to_policydb()868 rc = symtab_insert(pdb, SYM_LEVELS, key, sepol_level, SCOPE_DECL, 0, &value); in cil_sensitivityorder_to_policydb()873 sepol_level->level = mls_level; in cil_sensitivityorder_to_policydb()879 level_datum_destroy(sepol_level); in cil_sensitivityorder_to_policydb()881 free(sepol_level); in cil_sensitivityorder_to_policydb()[all …]