Home
last modified time | relevance | path

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

/external/selinux/libsepol/cil/src/
Dcil_post.c429 if (db->val_to_role == NULL) { in __cil_post_db_array_helper()
430 db->val_to_role = cil_malloc(sizeof(*db->val_to_role) * db->num_roles); in __cil_post_db_array_helper()
432 db->val_to_role[role->value] = role; in __cil_post_db_array_helper()
1106 role = db->val_to_role[i]; in __cil_post_db_roletype_helper()
Dcil_internal.h286 struct cil_role **val_to_role; member
Dcil_binary.c770 rc = __cil_get_sepol_role_datum(pdb, DATUM(db->val_to_role[i]), &sepol_role); in cil_userrole_to_policydb()
1896 rc = __cil_get_sepol_role_datum(pdb, DATUM(db->val_to_role[i]), &sepol_src); in cil_roletrans_to_policydb()
1974 rc = __cil_get_sepol_role_datum(pdb, DATUM(db->val_to_role[i]), &sepol_src); in cil_roleallow_to_policydb()
1980 rc = __cil_get_sepol_role_datum(pdb, DATUM(db->val_to_role[j]), &sepol_tgt); in cil_roleallow_to_policydb()
2025 rc = __cil_get_sepol_role_datum(pdb, DATUM(db->val_to_role[i]), &sepol_role); in __cil_constrain_expr_datum_to_sepol_expr()
Dcil.c265 (*db)->val_to_role = NULL; in cil_db_init()
307 free((*db)->val_to_role); in cil_db_destroy()