Searched refs:sepol_type (Results 1 – 1 of 1) sorted by relevance
/external/selinux/libsepol/cil/src/ |
D | cil_binary.c | 105 …il_get_sepol_type_datum(policydb_t *pdb, struct cil_symtab_datum *datum, type_datum_t **sepol_type) in __cil_get_sepol_type_datum() argument 107 *sepol_type = hashtab_search(pdb->p_types.table, datum->fqn); in __cil_get_sepol_type_datum() 108 if (*sepol_type == NULL) { in __cil_get_sepol_type_datum() 432 type_datum_t *sepol_type = NULL; in cil_roletype_to_policydb() local 440 rc = __cil_get_sepol_type_datum(pdb, DATUM(db->val_to_type[i]), &sepol_type); in cil_roletype_to_policydb() 443 if (ebitmap_set_bit(&sepol_role->types.types, sepol_type->s.value - 1, 1)) { in cil_roletype_to_policydb() 462 type_datum_t *sepol_type = cil_malloc(sizeof(*sepol_type)); in cil_type_to_policydb() local 463 type_datum_init(sepol_type); in cil_type_to_policydb() 465 sepol_type->flavor = TYPE_TYPE; in cil_type_to_policydb() 468 rc = symtab_insert(pdb, SYM_TYPES, key, sepol_type, SCOPE_DECL, 0, &value); in cil_type_to_policydb() [all …]
|