Searched refs:sepol_perm (Results 1 – 1 of 1) sorted by relevance
266 perm_datum_t *sepol_perm = cil_malloc(sizeof(*sepol_perm)); in cil_common_to_policydb() local267 memset(sepol_perm, 0, sizeof(perm_datum_t)); in cil_common_to_policydb()270 rc = hashtab_insert(sepol_common->permissions.table, key, sepol_perm); in cil_common_to_policydb()272 free(sepol_perm); in cil_common_to_policydb()275 sepol_perm->s.value = sepol_common->permissions.nprim + 1; in cil_common_to_policydb()344 perm_datum_t *sepol_perm = cil_malloc(sizeof(*sepol_perm)); in cil_classorder_to_policydb() local345 memset(sepol_perm, 0, sizeof(perm_datum_t)); in cil_classorder_to_policydb()348 rc = hashtab_insert(sepol_class->permissions.table, key, sepol_perm); in cil_classorder_to_policydb()350 free(sepol_perm); in cil_classorder_to_policydb()354 sepol_perm->s.value = sepol_class->permissions.nprim + 1; in cil_classorder_to_policydb()[all …]