Searched refs:val_to_role (Results 1 – 4 of 4) sorted by relevance
/third_party/selinux/libsepol/cil/src/ |
D | cil_post.c | 698 if (db->val_to_role == NULL) { in __cil_post_db_array_helper() 699 db->val_to_role = cil_malloc(sizeof(*db->val_to_role) * db->num_roles); in __cil_post_db_array_helper() 701 db->val_to_role[role->value] = role; in __cil_post_db_array_helper() 1678 role = db->val_to_role[i]; in __cil_post_db_roletype_helper()
|
D | cil_internal.h | 319 struct cil_role **val_to_role; member
|
D | cil_binary.c | 739 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() 2432 rc = __cil_get_sepol_role_datum(pdb, DATUM(db->val_to_role[i]), &sepol_src); in cil_roleallow_to_policydb() 2436 rc = __cil_get_sepol_role_datum(pdb, DATUM(db->val_to_role[j]), &sepol_tgt); in cil_roleallow_to_policydb() 2493 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 | 440 (*db)->val_to_role = NULL; in cil_db_init() 489 free((*db)->val_to_role); in cil_db_destroy()
|