Home
last modified time | relevance | path

Searched refs:sepol_perm (Results 1 – 1 of 1) sorted by relevance

/external/selinux/libsepol/cil/src/
Dcil_binary.c269 perm_datum_t *sepol_perm = cil_malloc(sizeof(*sepol_perm)); in cil_common_to_policydb() local
270 memset(sepol_perm, 0, sizeof(perm_datum_t)); in cil_common_to_policydb()
273 rc = hashtab_insert(sepol_common->permissions.table, key, sepol_perm); in cil_common_to_policydb()
275 free(sepol_perm); in cil_common_to_policydb()
278 sepol_perm->s.value = sepol_common->permissions.nprim + 1; in cil_common_to_policydb()
347 perm_datum_t *sepol_perm = cil_malloc(sizeof(*sepol_perm)); in cil_classorder_to_policydb() local
348 memset(sepol_perm, 0, sizeof(perm_datum_t)); in cil_classorder_to_policydb()
351 rc = hashtab_insert(sepol_class->permissions.table, key, sepol_perm); in cil_classorder_to_policydb()
353 free(sepol_perm); in cil_classorder_to_policydb()
357 sepol_perm->s.value = sepol_class->permissions.nprim + 1; in cil_classorder_to_policydb()
[all …]