Searched refs:sepol_class (Results 1 – 1 of 1) sorted by relevance
/external/selinux/libsepol/cil/src/ |
D | cil_binary.c | 121 …get_sepol_class_datum(policydb_t *pdb, struct cil_symtab_datum *datum, class_datum_t **sepol_class) in __cil_get_sepol_class_datum() argument 123 *sepol_class = hashtab_search(pdb->p_classes.table, datum->fqn); in __cil_get_sepol_class_datum() 124 if (*sepol_class == NULL) { in __cil_get_sepol_class_datum() 308 class_datum_t *sepol_class = cil_malloc(sizeof(*sepol_class)); in cil_classorder_to_policydb() local 309 memset(sepol_class, 0, sizeof(class_datum_t)); in cil_classorder_to_policydb() 312 rc = symtab_insert(pdb, SYM_CLASSES, key, sepol_class, SCOPE_DECL, 0, &value); in cil_classorder_to_policydb() 314 free(sepol_class); in cil_classorder_to_policydb() 318 sepol_class->s.value = value; in cil_classorder_to_policydb() 322 rc = symtab_init(&sepol_class->permissions, PERM_SYMTAB_SIZE); in cil_classorder_to_policydb() 339 sepol_class->comdatum = sepol_common; in cil_classorder_to_policydb() [all …]
|