Searched refs:sepol_role (Results 1 – 1 of 1) sorted by relevance
/external/selinux/libsepol/cil/src/ |
D | cil_binary.c | 115 …il_get_sepol_role_datum(policydb_t *pdb, struct cil_symtab_datum *datum, role_datum_t **sepol_role) in __cil_get_sepol_role_datum() argument 117 *sepol_role = hashtab_search(pdb->p_roles.table, datum->fqn); in __cil_get_sepol_role_datum() 118 if (*sepol_role == NULL) { in __cil_get_sepol_role_datum() 407 role_datum_t *sepol_role = cil_malloc(sizeof(*sepol_role)); in cil_role_to_policydb() local 408 role_datum_init(sepol_role); in cil_role_to_policydb() 418 rc = symtab_insert(pdb, SYM_ROLES, (hashtab_key_t)key, sepol_role, SCOPE_DECL, 0, &value); in cil_role_to_policydb() 422 if (ebitmap_set_bit(&sepol_role->dominates, value - 1, 1)) { in cil_role_to_policydb() 427 sepol_role->s.value = value; in cil_role_to_policydb() 432 role_datum_destroy(sepol_role); in cil_role_to_policydb() 433 free(sepol_role); in cil_role_to_policydb() [all …]
|