Home
last modified time | relevance | path

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

/external/selinux/libsepol/cil/src/
Dcil_binary.c116 …get_sepol_class_datum(policydb_t *pdb, struct cil_symtab_datum *datum, class_datum_t **sepol_class) in __cil_get_sepol_class_datum() argument
118 *sepol_class = hashtab_search(pdb->p_classes.table, datum->fqn); in __cil_get_sepol_class_datum()
119 if (*sepol_class == NULL) { in __cil_get_sepol_class_datum()
303 class_datum_t *sepol_class = cil_malloc(sizeof(*sepol_class)); in cil_classorder_to_policydb() local
304 memset(sepol_class, 0, sizeof(class_datum_t)); in cil_classorder_to_policydb()
307 rc = symtab_insert(pdb, SYM_CLASSES, key, sepol_class, SCOPE_DECL, 0, &value); in cil_classorder_to_policydb()
309 free(sepol_class); in cil_classorder_to_policydb()
313 sepol_class->s.value = value; in cil_classorder_to_policydb()
317 rc = symtab_init(&sepol_class->permissions, PERM_SYMTAB_SIZE); in cil_classorder_to_policydb()
334 sepol_class->comdatum = sepol_common; in cil_classorder_to_policydb()
[all …]