Searched refs:sepol_perm (Results 1 – 1 of 1) sorted by relevance
310 perm_datum_t *sepol_perm = cil_malloc(sizeof(*sepol_perm)); in cil_common_to_policydb() local311 memset(sepol_perm, 0, sizeof(perm_datum_t)); in cil_common_to_policydb()314 rc = hashtab_insert(sepol_common->permissions.table, key, sepol_perm); in cil_common_to_policydb()316 free(sepol_perm); in cil_common_to_policydb()319 sepol_perm->s.value = sepol_common->permissions.nprim + 1; in cil_common_to_policydb()380 perm_datum_t *sepol_perm = cil_malloc(sizeof(*sepol_perm)); in cil_classorder_to_policydb() local381 memset(sepol_perm, 0, sizeof(perm_datum_t)); in cil_classorder_to_policydb()384 rc = hashtab_insert(sepol_class->permissions.table, key, sepol_perm); in cil_classorder_to_policydb()386 free(sepol_perm); in cil_classorder_to_policydb()390 sepol_perm->s.value = sepol_class->permissions.nprim + 1; in cil_classorder_to_policydb()[all …]