Searched refs:sepol_perm (Results 1 – 1 of 1) sorted by relevance
273 perm_datum_t *sepol_perm = cil_malloc(sizeof(*sepol_perm)); in cil_common_to_policydb() local274 memset(sepol_perm, 0, sizeof(perm_datum_t)); in cil_common_to_policydb()277 rc = hashtab_insert(sepol_common->permissions.table, key, sepol_perm); in cil_common_to_policydb()279 free(sepol_perm); in cil_common_to_policydb()282 sepol_perm->s.value = sepol_common->permissions.nprim + 1; in cil_common_to_policydb()351 perm_datum_t *sepol_perm = cil_malloc(sizeof(*sepol_perm)); in cil_classorder_to_policydb() local352 memset(sepol_perm, 0, sizeof(perm_datum_t)); in cil_classorder_to_policydb()355 rc = hashtab_insert(sepol_class->permissions.table, key, sepol_perm); in cil_classorder_to_policydb()357 free(sepol_perm); in cil_classorder_to_policydb()361 sepol_perm->s.value = sepol_class->permissions.nprim + 1; in cil_classorder_to_policydb()[all …]