Searched refs:val_to_role (Results 1 – 4 of 4) sorted by relevance
/external/selinux/libsepol/cil/src/ |
D | cil_post.c | 684 if (db->val_to_role == NULL) { in __cil_post_db_array_helper() 685 db->val_to_role = cil_malloc(sizeof(*db->val_to_role) * db->num_roles); in __cil_post_db_array_helper() 687 db->val_to_role[role->value] = role; in __cil_post_db_array_helper() 1664 role = db->val_to_role[i]; in __cil_post_db_roletype_helper()
|
D | cil_internal.h | 310 struct cil_role **val_to_role; member
|
D | cil_binary.c | 752 rc = __cil_get_sepol_role_datum(pdb, DATUM(db->val_to_role[i]), &sepol_role); in cil_userrole_to_policydb() 2359 rc = __cil_get_sepol_role_datum(pdb, DATUM(db->val_to_role[i]), &sepol_src); in cil_roletrans_to_policydb() 2436 rc = __cil_get_sepol_role_datum(pdb, DATUM(db->val_to_role[i]), &sepol_src); in cil_roleallow_to_policydb() 2442 rc = __cil_get_sepol_role_datum(pdb, DATUM(db->val_to_role[j]), &sepol_tgt); in cil_roleallow_to_policydb() 2505 rc = __cil_get_sepol_role_datum(pdb, DATUM(db->val_to_role[i]), &sepol_role); in __cil_constrain_expr_datum_to_sepol_expr()
|
D | cil.c | 285 (*db)->val_to_role = NULL; in cil_db_init() 332 free((*db)->val_to_role); in cil_db_destroy()
|